/* ======================================================
   NEW YORK MEMENTO — V2
   Inspired by Mary Lou's: radical restraint.
   One font. One weight. Track it. Let it breathe.
   ====================================================== */

:root {
  --ink:       #1A1511;
  --ink-soft:  #4A3F35;
  --ash:       #9B8E7E;
  --blush:     #F3E8DC;
  --white:     #f5f6ee;
  --warm-red:  #C4403A;
  --sidebar-w: 260px;
  --font:      "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Source Serif 4", "Georgia", serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 15px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0.12em;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.25;
}

h1 {
  font-size: 2.2rem;
  letter-spacing: 0.25em;
}

h2 {
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  margin-bottom: 28px;
}

h3 {
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

p {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.75;
  color: var(--ink-soft);
}

p + p { margin-top: 18px; }

.italic {
  font-style: italic;
  font-weight: 200;
  letter-spacing: 0.08em;
}

/* ============ LAYOUT ============ */

.site {
  display: flex;
  min-height: 100vh;
}

/* ============ SIDEBAR ============ */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  z-index: 100;
  overflow-y: auto;
}

.sidebar__logo {
  margin-bottom: 36px;
}

.sidebar__logo img {
  width: 180px;
  height: auto;
  opacity: 0.9;
  filter: brightness(10);
  transition: opacity 0.3s;
}
.sidebar__logo img:hover { opacity: 1; }

.sidebar__cta {
  display: block;
  text-align: center;
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blush);
  padding: 14px 20px;
  border: 1px solid rgba(243,232,220,0.5);
  margin-bottom: 32px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.sidebar__cta:hover {
  background: rgba(243,232,220,0.15);
  border-color: var(--blush);
  color: var(--white);
}

.sidebar__nav {
  list-style: none;
  margin-bottom: auto;
}

.sidebar__nav li {
  margin-bottom: 4px;
}

.sidebar__nav a {
  display: block;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243,232,220,0.8);
  padding: 8px 0;
  transition: color 0.25s;
}

.sidebar__nav a:hover {
  color: var(--white);
}

.sidebar__nav a.active {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sidebar__bottom {
  padding-top: 28px;
}

.sidebar__signup {
  display: block;
  text-align: center;
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(243,232,220,0.7);
  padding: 14px 20px;
  border: 1px solid rgba(243,232,220,0.25);
  transition: border-color 0.3s, color 0.3s;
}
.sidebar__signup:hover {
  border-color: rgba(243,232,220,0.5);
  color: var(--blush);
}

/* ============ MAIN CONTENT ============ */

.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
}

/* ============ HERO ============ */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
}

.hero__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 56px;
  background: linear-gradient(to top, rgba(26,21,17,0.5) 0%, transparent 60%);
}

.hero__text {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.15;
  color: var(--blush);
}

/* ============ SECTION: INTRO (centered narrow column) ============ */

.intro {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 40px;
}

.intro h1 {
  margin-bottom: 32px;
}

/* ============ SECTION: SPLIT (50/50 table layout) ============ */

.split {
  display: flex;
  align-items: stretch;
  min-height: 580px;
}

.split--reverse { flex-direction: row-reverse; }

.split__image {
  flex: 1;
  min-height: 100%;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
}

.split__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  max-width: 580px;
}

.split__content p {
  max-width: 420px;
}

/* ============ SECTION: DARK OVERLAY (full-bleed image + text) ============ */

.dark-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 560px;
  padding: 80px 56px;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 21, 17, 0.55);
  z-index: 1;
}

.dark-section__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.dark-section h2,
.dark-section p {
  color: var(--white);
}

.dark-section p {
  color: rgba(255,255,255,0.8);
}

/* ============ SECTION: THESIS (large statement) ============ */

.thesis {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 120px 40px;
}

.thesis__statement {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  letter-spacing: 0.06em;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 32px;
}

.thesis__attribution {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #5C1A1B;
}

/* ============ SECTION: VISIT CARD ============ */

.visit {
  display: flex;
  align-items: stretch;
  min-height: 520px;
}

.visit__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}

.visit__info h2 { margin-bottom: 40px; }

.visit__row {
  margin-bottom: 24px;
}

.visit__label {
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 6px;
}

.visit__value {
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1.6;
}

.visit__value a {
  color: var(--ink);
  transition: color 0.25s;
}
.visit__value a:hover { color: var(--warm-red); }

.visit__image {
  flex: 1;
}

.visit__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ SECTION: BRANDS TEASER ============ */

.brands-teaser {
  padding: 100px 56px;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.brands-teaser h2 { margin-bottom: 24px; }

.brands-teaser a.link {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 32px;
  border: 1px solid var(--ink);
  transition: background 0.3s, color 0.3s;
}
.brands-teaser a.link:hover {
  background: var(--ink);
  color: var(--white);
}

/* ============ NEWSLETTER ============ */

.newsletter {
  background: #5C1A1B;
  padding: 80px 56px;
  text-align: center;
}

.newsletter__inner {
  max-width: 460px;
  margin: 0 auto;
}

.newsletter h2 { margin-bottom: 16px; color: var(--blush); }

.newsletter p {
  margin-bottom: 32px;
  color: rgba(243,232,220,0.8);
}

.newsletter__form {
  display: flex;
  gap: 0;
}

.newsletter__form input[type="email"] {
  flex: 1;
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 14px 18px;
  border: 1px solid rgba(26,21,17,0.2);
  border-right: 0;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.newsletter__form input:focus { border-color: var(--ink); }
.newsletter__form input::placeholder { color: var(--ash); }

.newsletter__form button {
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 14px 24px;
  background: var(--blush);
  color: #5C1A1B;
  border: 1px solid var(--blush);
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.newsletter__form button:hover { background: var(--white); }

/* ============ FULL BLEED IMAGE ============ */

.full-bleed {
  width: 100%;
  line-height: 0;
}

.full-bleed img {
  width: 100%;
  height: auto;
  display: block;
}

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

.foot {
  padding: 48px 56px 32px;
  text-align: center;
}

.foot p {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
}

.foot__links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.foot__links a {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  transition: color 0.25s;
}
.foot__links a:hover { color: var(--ink); }

/* ============ PAGE HEADER (Join the Club) ============ */

.page-header {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 40px 60px;
}

.page-header h1 {
  font-size: 2rem;
  letter-spacing: 0.25em;
  margin-bottom: 24px;
}

.page-header p {
  margin-bottom: 28px;
}

.page-header .cta-btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 14px 32px;
  border: 1px solid var(--ink);
  transition: background 0.3s, color 0.3s;
  margin-bottom: 20px;
}
.page-header .cta-btn:hover { background: var(--ink); color: var(--white); }

.page-header .substack-link {
  display: block;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  transition: color 0.25s;
}
.page-header .substack-link:hover { color: var(--ink); }

/* ============ ESSAY LIST ============ */

.essays {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.essay {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 36px 0;
  border-top: 1px solid rgba(26,21,17,0.1);
}

.essay:last-child {
  border-bottom: 1px solid rgba(26,21,17,0.1);
}

.essay__img {
  width: 120px;
  min-width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 2px;
}

.essay__body {
  flex: 1;
}

.essay__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: none;
}

.essay__desc {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 10px;
}

.essay__meta {
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ash);
}

.essays__more {
  text-align: center;
  padding: 40px 0 0;
}

.essays__more a {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  transition: color 0.25s;
}
.essays__more a:hover { color: var(--ink); }

/* ============ NEWSLETTER CTA (Join the Club page) ============ */

.newsletter-cta {
  background: #5C1A1B;
  padding: 80px 56px;
  text-align: center;
}

.newsletter-cta__inner {
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-cta p {
  color: rgba(243,232,220,0.8);
  margin-bottom: 32px;
}

.newsletter-cta__form {
  display: flex;
  gap: 0;
}

.newsletter-cta__form input[type="email"] {
  flex: 1;
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 14px 18px;
  border: 1px solid rgba(243,232,220,0.2);
  border-right: 0;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-cta__form input:focus { border-color: var(--blush); }
.newsletter-cta__form input::placeholder { color: var(--ash); }

.newsletter-cta__form button {
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 14px 24px;
  background: var(--blush);
  color: #5C1A1B;
  border: 1px solid var(--blush);
  white-space: nowrap;
  transition: background 0.3s;
}
.newsletter-cta__form button:hover { background: var(--white); }

/* ============ REVEAL ANIMATION ============ */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s cubic-bezier(.2,.6,.3,1), transform 1s cubic-bezier(.2,.6,.3,1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 0.15s; }
[data-reveal][data-delay="2"] { transition-delay: 0.3s; }
[data-reveal][data-delay="3"] { transition-delay: 0.45s; }

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

.mobile-toggle {
  display: none;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 200;
  background: rgba(26,21,17,0.7);
  border: none;
  padding: 12px;
  border-radius: 2px;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--blush);
  margin: 5px 0;
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.4s ease;
  }
  .sidebar.is-open { transform: translateX(0); }
  .mobile-toggle { display: block; }
  .main { margin-left: 0; }
  .split, .visit { flex-direction: column; }
  .split--reverse { flex-direction: column; }
  .split__content, .visit__info { padding: 56px 32px; }
  .hero__overlay { padding: 40px 32px; }
  .intro, .thesis { padding: 80px 28px; }
  .page-header { padding: 80px 28px 48px; }
  .essays { padding: 0 28px 60px; }
}

/* ============ LEGACY STYLES (preserved pages) ============ */

.section--paper {
  padding: 80px 40px;
}

.container--narrow {
  max-width: 680px;
  margin: 0 auto;
}

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

.font-heading {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  line-height: 1.25;
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.font-script {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 300;
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s cubic-bezier(.2,.6,.3,1), transform 1s cubic-bezier(.2,.6,.3,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-burgundy {
  display: inline-block;
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blush);
  padding: 16px 36px;
  background: #5C1A1B;
  border: 1px solid #5C1A1B;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn-burgundy:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.cta-link {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  transition: color 0.25s;
}
.cta-link:hover { color: var(--ink); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 8px;
  margin-top: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 14px 16px;
  border: 1px solid rgba(26,21,17,0.15);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  margin-top: 24px;
}

.contact-info h3 {
  margin-bottom: 28px;
}

.contact-info-item {
  margin-bottom: 20px;
}

.contact-info-item .label {
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
}

.contact-info-item a {
  color: var(--ink);
  transition: color 0.25s;
}
.contact-info-item a:hover { color: var(--warm-red); }

/* Experience page */
.experience-statement {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--ink);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ash);
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.custom-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.custom-option {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 18px;
  border: 1px solid rgba(26,21,17,0.15);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Visit info (experience page) */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.visit-item {
  margin-bottom: 20px;
}

.visit-item-label {
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 4px;
}

.visit-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* Activations page */
.activation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.activation-tile img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.offer-grid {
  display: grid;
  max-width: 900px;
  margin: 0 auto;
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.partner-tag {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 18px;
  border: 1px solid rgba(26,21,17,0.15);
}

/* Page hero (generic pages) */
.page-hero {
  padding: 100px 40px 60px;
}

.page-hero h1 {
  font-size: 2rem;
  letter-spacing: 0.25em;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .activation-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr !important; }
}
