/* ═══════════════════════════════════════════════════════
   MORGAN AYRES — v3
   Identity: Film dispatch. Field notation. Analog soul.
   Fonts: DM Mono (identity) + DM Sans (body) + Bebas Neue (tabs)
   Palette: Natural linen + printer's ink
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:wght@400;500&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Playfair+Display:ital@1&display=swap');

/* ── Reset & Variables ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #efeae4;
  --bg2:          #e8e2da;
  --surface:      #dfd8ce;
  --border:       #1e1c19;
  --border-light: #c0b8ae;
  --border-dim:   #d4cdc5;
  --text:         #1e1c19;
  --text-muted:   #6e6860;
  --text-dim:     #4e4840;
  --text-ghost:   rgba(30,28,25,0.055);
  --mark:         #1e1c19;       /* replaces gold — printer's ink */
  --white:        #f8f4ee;
  --font-display: 'DM Mono', 'Courier New', monospace;
  --font-tab:     'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Navigation ────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2.5rem;
  background: rgba(239, 234, 228, 0.97);
  border-bottom: 1px solid var(--border-light);
  transition: padding 0.4s;
}

nav.scrolled { padding: 0.65rem 2.5rem; }

/* Inner pages — always show compact double-border state */
nav.nav-inner {
  padding: 0.65rem 2.5rem;
  border-bottom: 3px double var(--border-light);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  color: var(--text);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links li:last-child {
  margin-left: 0rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.3s;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--text); }

.nav-instagram {
  display: flex;
  align-items: center;
  color: var(--text-muted) !important;
  border-bottom: none !important;
}
.nav-instagram:hover { color: var(--text) !important; }
.nav-instagram svg { display: block; }

.nav-links a.active {
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

/* ── Mobile nav ────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(239, 234, 228, 0.99);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border-dim);
    text-align: right;  /* right-justified for thumb reach */
  }
  .nav-links li:last-child a { border-bottom: none; }
}

/* ── Page Wrapper ──────────────────────────────────── */
.page {
  padding-top: 5rem;
  min-height: 100vh;
  position: relative;
}

/* ── Page rule ─────────────────────────────────────── */
.page-rule {
  height: 1px;
  background: var(--border-light);
}

.page-rule.hidden { display: none; }

/* ── Film edge notation — runs bottom of every page ── */
.film-edge {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--border-light);
  padding: 0.5rem 2.5rem;
  border-top: 1px solid var(--border-dim);
  display: flex;
  justify-content: space-between;
  user-select: none;
  pointer-events: none;
}

/* ── Metadata label (01 — SECTION) ────────────────── */
.meta-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.meta-label .meta-num {
  color: var(--text);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.meta-label::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: var(--border-light);
  min-width: 20px;
}

/* ── Hero (landing) ────────────────────────────────── */
.hero-landing {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-landing-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s var(--ease);
  transform: scale(1.03);
}

.hero-landing-bg.loaded { transform: scale(1); }

.hero-landing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,15,12,0.65) 0%,
    rgba(18,15,12,0.1) 40%,
    transparent 70%
  );
}

.hero-landing-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* Film-style location tag in hero */
.hero-location {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239,234,228,0.45);
  line-height: 2;
}

.hero-enter {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239,234,228,0.8);
  border: 1px solid rgba(239,234,228,0.3);
  padding: 0.75rem 1.75rem;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  display: inline-block;
}

.hero-enter:hover {
  color: #efeae4;
  border-color: rgba(239,234,228,0.75);
  background: rgba(239,234,228,0.07);
}

/* ── Portfolio tabs ────────────────────────────────── */
.portfolio-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 2.5rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.portfolio-tab {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  position: relative;
  font-weight: 500;
}

/* Frame counter prefix — film notation */
.portfolio-tab::before {
  content: attr(data-num);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  vertical-align: middle;
  margin-right: 0.2em;
  opacity: 0.7;
}

.portfolio-tab:hover { color: var(--text); }
.portfolio-tab:hover::before { opacity: 1; }

.portfolio-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.portfolio-tab.active::before {
  color: var(--text);
  opacity: 1;
}

/* ── Portfolio masonry ─────────────────────────────── */
.portfolio-masonry-wrap { position: relative; }

.portfolio-masonry {
  margin: 2rem 2.5rem 3rem;
}

/* ── Masonry Grid ──────────────────────────────────── */
.masonry {
  columns: 3;
  column-gap: 3px;
}

@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 3px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg);
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: brightness(0.96);
}

.masonry-item:hover img {
  transform: scale(1.02);
  filter: brightness(1.01);
}

/* ── About page ────────────────────────────────────── */
.about-wrap {
  position: relative;
  overflow: hidden;
  padding: 2rem 1rem 6rem 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
  align-items: start;
}

@media (max-width: 780px) {
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
}

.about-image {
  outline: 1px solid var(--border-light);
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.93);
}

/* Film edge notation on photo — vertical, left side */
.about-film-notation {
  position: absolute;
  left: -2rem;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0.5rem;
  pointer-events: none;
}

.about-film-notation span {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  line-height: 1;
}

.about-text { padding-top: 0.5rem; }

.about-location-tag {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 500;
}

.about-text h2 em {
  font-style: normal;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.55em;
  letter-spacing: 0.2em;
  display: block;
  margin-top: 0.5em;
  font-weight: 400;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.9;
  font-weight: 300;
}

.about-section-heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
  margin-top: 2rem;
  display: block;
}

/* Number prefix — small DM Mono, muted, same family */
.about-section-heading .section-num {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-right: 0.6em;
  vertical-align: middle;
  opacity: 0.7;
}

.about-section-heading:first-of-type { margin-top: 0; }

.about-signature {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-signature::before {
  content: '—';
  color: var(--text);
}

.about-services {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.about-services-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.about-services ul {
  list-style: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 2.6;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Rotated sidebar label ─────────────────────────── */
.rotated-label {
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--border-light);
  white-space: nowrap;
  pointer-events: none;
}

/* ── Ethos pull quote ──────────────────────────────── */
.about-ethos-wrap {
  position: relative;
  margin: 0 0 0;
  padding-left: 0;
}

.about-ethos-rule {
  height: 1px;
  background: var(--border-light);
  margin: 2rem 0;
  opacity: 0.7;
}

/* Heavy ink quote mark — not ornamental */
.about-ethos-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  opacity: 0.85;
}

.about-text .about-ethos {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 400;
  max-width: 480px;
  margin: 0;
}

/* ── Contact ───────────────────────────────────────── */
.contact-layout {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2.5rem 6rem 2.5rem;
  position: relative;
  overflow: visible;
}

.contact-intro {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  line-height: 1.9;
  font-weight: 300;
}

.form-group { margin-bottom: 1.75rem; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-bottom-color: var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--border); }

.form-group textarea { height: 160px; resize: vertical; }

.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: var(--text);
  border: 1px solid var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn:hover { background: transparent; color: var(--text); }

/* ── Lightbox ──────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(16,14,11,0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.lightbox.open { opacity: 1; pointer-events: all; }

/* Spinner shown while image loads */
.lightbox-spinner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28px; height: 28px;
  border: 1px solid rgba(239,234,228,0.15);
  border-top-color: rgba(239,234,228,0.6);
  border-radius: 50%;
  animation: lb-spin 0.8s linear infinite;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.lightbox.loading .lightbox-spinner { opacity: 1; }

@keyframes lb-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Lightbox image track — slides horizontally */
.lightbox-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s var(--ease), transform 0.38s var(--ease-out);
  opacity: 0;
  will-change: transform, opacity;
  user-select: none;
  -webkit-user-drag: none;
}

/* Fade states */
.lightbox-img.visible         { opacity: 1;  transform: translate(-50%, -50%); }
.lightbox-img.fade-from       { opacity: 0;  transform: translate(-50%, -50%); }
.lightbox-img.fade-to         { opacity: 0;  transform: translate(-50%, -50%); }

/* Slide-in states */
.lightbox-img.slide-from-right { opacity: 1;  transform: translate(calc(-50% + 100vw), -50%); }
.lightbox-img.slide-from-left  { opacity: 1;  transform: translate(calc(-50% - 100vw), -50%); }

/* Slide-out states */
.lightbox-img.slide-to-left    { opacity: 1;  transform: translate(calc(-50% - 100vw), -50%); }
.lightbox-img.slide-to-right   { opacity: 1;  transform: translate(calc(-50% + 100vw), -50%); }

/* Live drag state — no transition */
.lightbox-img.dragging {
  transition: none !important;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  z-index: 10;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(239,234,228,0.35);
  cursor: pointer;
  transition: color 0.3s;
  background: none; border: none;
}

.lightbox-close:hover { color: #efeae4; }

.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: none; border: none;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239,234,228,0.3);
  cursor: pointer;
  padding: 1rem;
  transition: color 0.3s;
  z-index: 10;
}

.lightbox-nav:hover { color: #efeae4; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.75rem;
  left: 50%; transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(239,234,228,0.3);
}

/* ── Footer ────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border-light);
  padding: 1.5rem 2.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-coords {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--border-light);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-copy {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--border-light);
}

/* Film edge print — below footer */
.footer-film-edge {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  padding: 0.4rem 2.5rem 0.6rem;
  display: flex;
  justify-content: space-between;
  user-select: none;
  pointer-events: none;
  border-top: 1px solid var(--border-dim);
  margin-top: 0.75rem;
}

/* ── Instagram link ────────────────────────────────── */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.instagram-link:hover { color: var(--text); }

/* ── Collection cards ──────────────────────────────── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 3px;
}

.collection-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
  cursor: pointer;
  background: var(--surface);
}

.collection-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: brightness(0.75);
}

.collection-card:hover img { transform: scale(1.03); filter: brightness(0.6); }

.collection-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(16,14,11,0.7) 0%, transparent 100%);
}

.collection-card-name {
  font-family: var(--font-tab);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #efeae4;
  display: block;
}

.collection-card-count {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(239,234,228,0.5);
  display: block;
  margin-top: 0.2rem;
}

/* ── Fade-in ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── Utility ───────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 640px) {
  .portfolio-tabs-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 1.25rem;
    scrollbar-width: none;
  }
  .portfolio-tabs-bar::-webkit-scrollbar { display: none; }
  .portfolio-tab { flex-shrink: 0; }
  .portfolio-masonry { margin: 1.25rem 1.25rem 2rem; }

  .about-wrap { padding: 2rem 1.25rem 4rem; }
  .about-film-notation { display: none; }
  .rotated-label { display: none; }

  .contact-layout { margin: 0; padding: 2rem 1.25rem 4rem; }
  .footer-film-edge { display: none; }
}

/* ══════════════════════════════════════════════════════
   FIELD NOTES
   ══════════════════════════════════════════════════════ */

.notes-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 3rem 3.5rem 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

.notes-eyebrow {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.notes-title {
  font-family: var(--font-tab);
  font-size: 3rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  display: block;
  line-height: 1;
}

.notes-intro {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 360px;
  line-height: 1.8;
}

.notes-location {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--border-light);
}

.notes-feed { padding-bottom: 6rem; }

/* Entry separator with frame counter feel */
.note-rule {
  display: flex;
  align-items: center;
  margin: 0 3.5rem;
  gap: 1.5rem;
}

.note-rule::before,
.note-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
  opacity: 0.5;
}

.note-rule-num {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  color: var(--border-light);
  white-space: nowrap;
}

/* Meta tag */
.note-meta-tag {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

/* Pull quote — bold ink, not ornamental */
.note-pull-quote { margin: 0 0 2rem; }

.note-pull-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.7;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: -0.05em;
}

.note-pull-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--text-dim);
  font-weight: 400;
  margin: 0;
  max-width: 500px;
}

/* Body text */
.note-body p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 1.25rem;
  max-width: 560px;
}

/* Sketch */
.note-sketch {
  display: flex;
  justify-content: center;
  padding: 2rem 0 0;
}

.note-sketch img {
  max-width: 260px;
  opacity: 0.8;
}

/* Full bleed layout */
.note-full-bleed-img-wrap {
  position: relative;
  width: 100%;
}

.note-full-bleed img {
  width: 100%;
  max-height: 85vh;
  object-fit: cover;
  display: block;
}

.note-full-bleed { position: relative; }

.note-full-bleed-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 3.5rem;
  background: linear-gradient(to top, rgba(16,14,11,0.6) 0%, transparent 100%);
}

.note-num-tag {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(239,234,228,0.5);
}

.note-full-bleed-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 3.5rem 3.5rem 4rem;
  align-items: start;
}

@media (max-width: 780px) {
  .note-full-bleed-body { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem 3rem; }
  .notes-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 2rem 1.5rem; }
  .note-rule { margin: 0 1.5rem; }
}

/* Photo left / right split */
.note-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 480px;
}

.note-photo-right .note-split { direction: rtl; }
.note-photo-right .note-split > * { direction: ltr; }

.note-split-photo {
  overflow: hidden;
  background: var(--surface);
}

.note-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
  transition: filter 0.5s;
}

.note-entry:hover .note-split-photo img { filter: brightness(1); }

.note-split-text {
  padding: 3.5rem 3.5rem 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.note-photo-right .note-split-text {
  padding: 3.5rem 4rem 3.5rem 3.5rem;
}

@media (max-width: 780px) {
  .note-split {
    grid-template-columns: 1fr;
    direction: ltr !important;
    min-height: auto;
  }
  .note-split-text,
  .note-photo-right .note-split-text { padding: 2rem 1.5rem 3rem; }
  .note-split-photo { min-height: 280px; }
}

/* ── Contact page ──────────────────────────────────── */
.contact-location-tag {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

.contact-rule {
  height: 1px;
  background: var(--border-light);
  margin: 2rem 0;
  opacity: 0.7;
}

/* Numbered field labels */
.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.contact-field-num {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  opacity: 0.7;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 560px) {
  .contact-field-row { grid-template-columns: 1fr; }
}

.contact-success {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.contact-error {
  color: #6b2a2a;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}

.contact-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-bottom-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-bottom-label {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-bottom-value {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
}

/* ── Contact vertical morse + label ───────────────── */
.contact-vertical-text {
  position: absolute;
  left: -1.25rem;
  top: 3rem;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
}

.contact-vertical-text span {
  font-family: var(--font-display);
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  line-height: 1;
}

/* FORM / 001 label above rule */
.contact-form-label {
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.contact-top-rule {
  height: 1px;
  background: var(--border-light);
  margin-bottom: 2rem;
}