/* ===================================================================
   Sofia Amrani — Photography Portfolio
   WordPress / Elementor Compatible
   Full-width, no boxed containers
   =================================================================== */

/* ============================================================
   ROOT VARIABLES & RESETS
   ============================================================ */
:root {
  --bg: #0a0a0a;
  --bg-panel: #111;
  --bg-panel-2: #0d0d0d;
  --ink: #e8e4de;
  --ink-100: rgba(232, 228, 222, 1);
  --ink-70: rgba(232, 228, 222, 0.75);
  --ink-65: rgba(232, 228, 222, 0.65);
  --ink-55: rgba(232, 228, 222, 0.55);
  --ink-40: rgba(232, 228, 222, 0.4);
  --ink-35: rgba(232, 228, 222, 0.35);
  --ink-20: rgba(232, 228, 222, 0.2);
  --ink-15: rgba(232, 228, 222, 0.15);
  --ink-08: rgba(232, 228, 222, 0.08);
  --ink-05: rgba(232, 228, 222, 0.05);
  --font-serif: 'EB Garamond', serif;
  --font-sans: 'Jost', sans-serif;
  --pad-x: 48px;
  --gutter: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

img {
  max-width: 100%;
  display: block;
}

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

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--ink-55);
  outline-offset: 3px;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-35);
  margin: 0 0 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
}

/* ============================================================
   HEADER
   ============================================================ */
.wp-singular .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s ease, padding 0.4s ease;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7) 0%, transparent 100%);
}

.page-id-560 .header {
  position: relative;
}
.page-id-560{
    width: 100vw;
    overflow-x: hidden;
}
.header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: uppercase;
}
.hero-tagline{
        padding: 0 1em;
}
.nav_cont {
  width: 100%;
}

#menu-header {
  padding-left: 0;
}

.nav-desktop .main-menu {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
  justify-content: end;
}

.nav-desktop .main-menu a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-65);
  transition: color 0.2s ease;
}

.nav-desktop .main-menu a:hover {
  color: var(--ink);
}

/* Submenu Styles */
.nav-desktop .main-menu li {
  position: relative;
  min-width: 4.6em;
}

.nav-desktop .main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0;
  min-width: 220px;
  list-style: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: rgba(10, 10, 10, 0.92);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-desktop .main-menu li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-desktop .main-menu .sub-menu li a {
  display: block;
  padding: 8px 20px;
  white-space: nowrap;
}

.nav-desktop .main-menu .sub-menu li a::before {
  content: "→ ";
  margin-right: 8px;
  display: inline-block;
  font-size: 14px;
  color: var(--ink);
}

.nav-desktop .main-menu li.menu-item-has-children>a::after {
  content: " \203A";
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav-desktop .main-menu li.menu-item-has-children:hover>a::after {
  transform: rotate(90deg);
}

.menu-toggle {
  display: none;
  width: 32px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}

.menu-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-9.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(10, 10, 10, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 999998;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-70);
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--ink);
}

.mobile-nav .menu-wrapper {
  width: 100%;
}

.mobile-nav .main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav .menu-item-has-children>a::after {
  content: "+";
  display: inline-block;
  margin-left: 10px;
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.mobile-nav li.submenu-open>a::after {
  transform: rotate(45deg);
}

.mobile-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mobile-nav li.submenu-open>.sub-menu {
  display: flex;
}

.mobile-nav .sub-menu a {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 80vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  overflow: hidden;
  background: var(--bg);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.5);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.3) 50%, rgba(10, 10, 10, 0.1) 100%);
}

.hero-content {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--pad-x) 52px;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-content .eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--ink-55);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
}

.hero-meta {
  text-align: right;
}
/* .c__hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: var(--soft-white);
  }
 
  .c__hero__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--soft-white);
    margin-top: 28px;
  }
  @media (max-width: 768px) {
    .c__hero__title {
      font-size: 36px;
      letter-spacing: 0.3px;
    }
 
    .c__hero__subtitle {
      font-size: 13px;
      letter-spacing: 4px;
      margin-top: 22px;
    }
  }

  @media (max-width: 480px) {
    .c__hero__title {
      font-size: 28px;
      letter-spacing: 0.2px;
    }
 
    .c__hero__subtitle {
      font-size: 11px;
      letter-spacing: 3px;
      margin-top: 18px;
    }
  }*/
.hero-meta p {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--ink-55);
  line-height: 1.8;
  margin: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(232, 228, 222, 0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.7;
    transform: scaleY(0.6);
  }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head {
  padding: 0 var(--pad-x);
  margin-bottom: 72px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
  padding: 120px 0 80px;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  padding: 0 var(--gutter);
}

.grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-panel);
  grid-column: span 1;
  aspect-ratio: 4 / 5;
  border: 3px solid #000000;
}

.grid-item.wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
  height: 100%;
  max-width: 100%;
}

.grid-item.tall {
  aspect-ratio: 3 / 4;
}

.grid-item img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: brightness(0.9);
}

.grid-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.75);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 60%);
}

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

.grid-overlay span {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-70);
}

/* ============================================================
   NEW YORK STRIP
   ============================================================ */
.ny-section {
  padding: 0 0 80px;
  background: var(--bg);
}

.ny-head {
  padding: 100px var(--pad-x) 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.ny-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.ny-title em {
  font-style: italic;
  color: var(--ink-55);
}

.ny-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink-35);
  line-height: 1.8;
  max-width: 320px;
  margin: 0;
}

.ny-strip {
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
}

.ny-item {
  border: 3px solid #000000;
}

.ny-row {
  display: grid;
  gap: var(--gutter);
}

.ny-row.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.ny-row.split-21 {
  grid-template-columns: 2fr 1fr;
}

.ny-row.split-12 {
  grid-template-columns: 1fr 2fr;
}

.ny-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-panel); .c__hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: var(--soft-white);
  }
 
  .c__hero__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--soft-white);
    margin-top: 28px;
  }
  @media (max-width: 768px) {
    .c__hero__title {
      font-size: 36px;
      letter-spacing: 0.3px;
    }
 
    .c__hero__subtitle {
      font-size: 13px;
      letter-spacing: 4px;
      margin-top: 22px;
    }
  }

  @media (max-width: 480px) {
    .c__hero__title {
      font-size: 28px;
      letter-spacing: 0.2px;
    }
 
    .c__hero__subtitle {
      font-size: 11px;
      letter-spacing: 3px;
      margin-top: 18px;
    }
  }
  height: 100%;
  max-width: 100%;
}

.ny-item img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: brightness(0.85);
}

.ny-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.7);
}

.ny-item.wide img {
  object-position: center 40%;
}

.ny-item .ny-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.ny-item:hover .ny-overlay {
  opacity: 1;
}

.ny-item.wide .ny-overlay {
  padding: 24px 32px;
}

.ny-overlay span {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-65);
}

.ny-item.full {
  aspect-ratio: 21 / 8;
}

.ny-item.sq {
  aspect-ratio: 4 / 5;
}

.ny-item.h32 {
  aspect-ratio: 3 / 2;
}

.ny-item.v23 {
  aspect-ratio: 2 / 3;
}

/* ============================================================
   PHOTOBOOKS
   ============================================================ */
.photobooks-section {
  padding: 120px var(--pad-x);
  background: var(--bg);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.book-card {
  position: relative;
  background: var(--bg-panel-2);
}

.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-panel);
}

.book-cover img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: brightness(0.75);
}

.book-card:hover .book-cover img {
  transform: scale(1.04);
  filter: brightness(0.5);
}

.book-spine {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent);
}

.book-label {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.1) 60%);
}

.book-label .meta {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin: 0 0 6px;
}

.book-label h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.1;
}

.book-label .subtitle {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-55);
  margin: 0;
}

.book-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--ink-05);
}

.book-footer p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-40);
  line-height: 1.7;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.order-btn {
  background: none;
  border: 1px solid var(--ink-20);
  color: var(--ink-70);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 22px;
  cursor: pointer;
  transition: all 0.2s;
}

.order-btn:hover {
  background: rgba(232, 228, 222, 0.07);
  border-color: rgba(232, 228, 222, 0.4);
  color: var(--ink);
}

/* ============================================================
   POEMS
   ============================================================ */
.poems-section {
  background: var(--bg);
  padding: 0 0 120px;
}

.poems-head {
  padding: 120px var(--pad-x) 80px;
  margin-bottom: 0;
}

.poems-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.poems-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ink-35);
  line-height: 1.8;
  max-width: 300px;
  margin: 0;
}

.poems-list {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
}

.poem-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  align-items: start;
}

.poem-img {
  order: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-panel-2);
  align-self: start;
}

.poem-img img {
  width: 100%;
  height: 100vh !important;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.82);
  display: block;
}

.poem-block.reverse .poem-img {
  order: 1;
}

.poem-block.reverse .poem-text {
  order: 0;
  border-left: none;
  border-right: 1px solid var(--ink-05);
}

.poem-numeral {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 11px;
  font-style: italic;
  color: rgba(232, 228, 222, 0.3);
  letter-spacing: 0.15em;
}

.poem-block.reverse .poem-numeral {
  right: auto;
  left: 28px;
}

.poem-text {
  order: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(40px, 6vw, 96px) clamp(32px, 5vw, 80px);
  background: var(--bg);
  border-left: 1px solid var(--ink-05);
  min-height: 100vh;
}

.poem-text p {
  font-family: "EB Garamond", serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.85;
  color: rgba(232, 228, 222, 0.75);
  margin: 0px 0px 28px;
  letter-spacing: 0.01em;
}

.poem-stanza {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-70);
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}

.poem-stanza:last-child {
  margin-bottom: 0;
}

.poem-dedication {
  font-size: 14px !important;
  font-style: italic;
  color: rgba(232, 228, 222, 0.3) !important;
  margin-top: 40px;
  letter-spacing: 0.06em;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  padding: 120px var(--pad-x);
  padding: 0.5em 120px 0 120px;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.about-title em {
  font-style: italic;
}

.about-copy {
  padding-top: 64px;
}

.about-lead {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-70);
  margin: 0 0 28px;
}

.about-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-40);
  letter-spacing: 0.04em;
  margin: 0;
}

.divider {
  margin-top: 100px;
  height: 1px;
  background: var(--ink-08);
}

.menu_img_section {
  width: 57% !important;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 80px var(--pad-x) 100px;
  background: var(--bg);
}

.contact-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
}

.contact-email {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
  display: block;
}

.contact-email:hover {
  opacity: 0.6;
}

.socials {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.socials a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-40);
  transition: color 0.2s;
}

.socials a:hover {
  color: var(--ink);
}

.footer-row {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgb(232 228 222 / 54%);
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgb(232 228 222 / 54%);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--ink-55);
  font-size: 28px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 200;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--ink);
}

/* ============================================================
   ORDER MODAL
   ============================================================ */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 10, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.order-modal.open {
  display: flex;
}

.order-modal-inner {
  background: var(--bg-panel);
  border: 1px solid var(--ink-08);
  max-width: 520px;
  width: 100%;
  padding: 56px 48px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.order-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--ink-35);
  font-size: 24px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 200;
  line-height: 1;
  transition: color 0.2s;
}

.order-close:hover {
  color: var(--ink);
}

.order-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 36px;
  line-height: 1.1;
}

.order-title em {
  font-style: italic;
  color: var(--ink-55);
}

#order-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#order-form label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.field-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-35);
  display: none;
}

#order-form input,
#order-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-15);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

#order-form textarea {
  resize: none;
  line-height: 1.7;
}

#order-form input:focus,
#order-form textarea:focus {
  border-bottom-color: rgba(232, 228, 222, 0.5);
}

#order-form input::placeholder,
#order-form textarea::placeholder {
  color: rgba(232, 228, 222, 0.25);
}

.submit-btn {
  margin-top: 12px;
  background: none;
  border: 1px solid var(--ink-20);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, border-color 0.2s;
}

.submit-btn:hover {
  background: rgba(232, 228, 222, 0.08);
  border-color: rgba(232, 228, 222, 0.5);
}

.order-sent {
  text-align: center;
  padding: 24px 0;
}

.order-thanks {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 16px;
}

.order-thanks-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink-40);
  line-height: 1.8;
}

.order-thanks-sub em {
  font-style: italic;
  color: var(--ink-65);
}

/* ============================================================
   DARK HERO WIDGET
   ============================================================ */
.dark-hero-wrapper {
  position: relative;
  width: 100%;
}

.dark-hero {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.dark-hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.dark-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 25%;
}

.dark-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  width: 100%;
}

.dark-hero-link {
  text-decoration: none;
  display: block;
  color: #ededed;
}

.dark-hero-link:hover {
  text-decoration: none;
  color: #ededed;
}

.dark-hero-heading {
  font-size: 14px;
  line-height: 1.4;
  font-family: Assistant, 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  padding-bottom: 14px;
  display: inline-block;
  margin: 0;
  letter-spacing: 2px;
  color: #ffffff;
  font-weight: 400;
}

.dark-hero-subtitle {
  display: block;
  margin-top: 20px;
  font-family: 'Garamond Premier pro light', 'Georgia', 'Times New Roman', serif;
  letter-spacing: 1.7px;
  font-size: 50px;
  line-height: 1.2;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0;
  font-weight: 400;
  color: #eeeeee;
}

.dark-hero-image {
  transition: opacity 0.6s ease;
}

.dark-hero-link {
  transition: opacity 0.3s ease;
}

.dark-hero-link:hover .dark-hero-subtitle {
  opacity: 0.85;
}

/* ============================================================
   CONTACT FORM 7 OVERRIDES
   ============================================================ */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: background-color 999999s ease-in-out 0s !important;
  -webkit-text-fill-color: #e8e4de !important;
}

#dynamic-book-checkboxes .wpcf7-list-item {
  display: block;
  margin: 0;
}

#dynamic-book-checkboxes .wpcf7-list-item input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-left: 0;
}

#dynamic-book-checkboxes .wpcf7-list-item label {
  display: inline-block;
  color: #b2b2b2;
}

.page-id-272 .elementor .e-flexbox-base {
  padding-top: 30px;
}

.page-id-272 .elementor-social-icons-wrapper {
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-id-272 .contact-form-p {
  padding-top: 20px;
}

.page-id-272 .e-heading-base {
  font-family: var(--font-sans);
  font-weight: 400;
}

.page-id-272 .elementor-icon.elementor-social-icon {
  width: auto !important;
  padding-right: 1em;
}

#cf7-books-input {
  display: none;
}

#order-form input.wpcf7-submit {
  margin-top: 12px;
  background: none;
  border: 1px solid rgba(232, 228, 222, 0.25);
  color: rgb(232, 228, 222);
  font-family: "Jost", sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, border-color 0.2s;
}

.cf7-dark-form {
  color: #ffffff;
  font-family: 'Assistant', sans-serif;
  font-weight: 200;
  width: 100%;
}

.cf7-dark-form .form-row {
  margin-bottom: 20px;
  overflow: hidden;
}

.cf7-dark-form label {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
  font-family: var(--font-sans);
}

.cf7-dark-form .wpcf7-form-control-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.cf7-dark-form input[type="text"],
.cf7-dark-form input[type="email"],
.cf7-dark-form input[type="tel"],
.cf7-dark-form textarea {
  background-color: #060606;
  color: #ffffff;
  border: 1px solid #c1c1c1;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Assistant', sans-serif;
  font-weight: 200;
  border-radius: 2px;
}

.cf7-dark-form input:focus,
.cf7-dark-form textarea:focus {
  outline: none;
  border-color: #ffffff;
}

.cf7-dark-form .mailing-notice {
  font-size: 14px;
  opacity: 0.8;
}

.cf7-dark-form .form-submit-wrapper {
  clear: both;
}

.cf7-dark-form .wpcf7-submit {
  background: #c1c1c1;
  color: #000000;
  text-transform: uppercase;
  padding: 10px 15px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  float: left;
  font-family: 'Assistant', sans-serif;
  font-weight: 400;
  letter-spacing: 0.9px;
  transition: background 0.3s ease;
}

.cf7-dark-form .wpcf7-submit:hover {
  background: #ffffff;
}

/* ============================================================
   SOFIA POEM WIDGET
   ============================================================ */
.sofia-poem {
  --poem-bg: #0e0e0e;
  --poem-text: rgba(255, 255, 255, 0.75);
  --poem-title: #fff;
  --poem-side: rgba(255, 255, 255, 0.4);
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--poem-text);
  background: var(--poem-bg);
}

.poem-desktop {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 0;
}

.poem-side-name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  flex-shrink: 0;
}

.poem-side-name span {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--poem-side);
  font-weight: 300;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.poem-desktop-left {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding-right: 32px;
  padding-bottom: 32px;
}

.poem-title-block {
  padding-top: 16px;
  padding-bottom: 40px;
  padding-left: 24px;
}
.poem-title {
  font-size: 40px;
  font-weight: 300;
  line-height: 0.8;
  color: var(--poem-title);
  white-space: pre-line;
  margin-bottom: 0.5em !important;
  font-family: var(--font-serif);
  font-style: italic;
    text-align:center;
}

.poem-columns {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 16px;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--poem-text);
  font-weight: 300;
        height: 60vh;
    overflow-y: scroll;
    text-align: center;
}
.poem-columns::-webkit-scrollbar {
  width: 8px;
}
.poem-columns::-webkit-scrollbar_track {
  background: #f1f1f1;
  border-radius: 4px;
}
.poem-columns::-webkit-scrollbar-thumb {
  background: #888888;
  border-radius: 4px;
}
.poem-columns::-webkit-scrollbar-thumb:hover {
  background: #555555;
}
.poem-columns p {
  margin: 0;
}

.poem-photo {
  width: 38%;
  flex-shrink: 0;
  position: relative;
}

.poem-photo-mobile {
  display: none;
}

.poem-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-height: calc(100vh - 130px);
  display: block;
  position: absolute;
  top: -5em;
}

.poem-photo-grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.poem-mobile {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
}

.poem-hero {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  height: 55vmax;
}

.poem-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.poem-hero-grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
      #0e0e0e 0%,
      transparent 22%,
      transparent 38%,
      #0e0e0e 100%);
}

.poem-hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 24px 32px;
}

.poem-hero-name {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--poem-side);
  margin-bottom: 12px;
  margin-top: 0;
}

.poem-hero-title {
  font-size: clamp(2.4rem, 10vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--poem-title);
  white-space: pre-line;
  margin: 0;
}

.poem-mobile-body {
  padding: 32px 24px 40px;
  font-size: 15px;
  line-height: 2;
  color: var(--poem-text);
  font-weight: 300;
}

.poem-mobile-column {
  margin-bottom: 24px;
}

.poem-mobile-column:last-child {
  margin-bottom: 0;
}

.poem-mobile-column p {
  margin: 0;
}

.poem-spacer {
  height: 12px;
}

/* ============================================================
   SOFIA POST SLIDER
   ============================================================ */
.sofia-post-slider {
  --sp-bg: #0e0e0e;
  --sp-slide-bg: #1a1a1a;
  --sp-text: rgba(255, 255, 255, 0.75);
  --sp-title: #fff;
  --sp-meta: rgba(255, 255, 255, 0.4);
  --sp-arrow: rgba(255, 255, 255, 0.5);
  --sp-arrow-hover: #fff;
  --sp-dot: rgba(255, 255, 255, 0.3);
  --sp-dot-active: #fff;
  --sp-gap: 24px;
  position: relative;
  overflow: hidden;
  background: var(--sp-bg);
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.sp-viewport {
  overflow: hidden;
  width: 100%;
}

.sp-track {
  display: flex;
  gap: var(--sp-gap);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.sp-slide {
  flex: 0 0 calc((100% - (var(--sp-gap) * (var(--slides-show, 3) - 1))) / var(--slides-show, 3));
  min-width: 0;
  background: var(--sp-slide-bg);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sp-slide-img {
  display: block;
  width: 100%;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.sp-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.sp-slide:hover .sp-slide-img img {
  transform: scale(1.05);
}

.sp-slide-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sp-slide-title {
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 12px;
}

.sp-slide-title a {
  color: var(--sp-title);
  text-decoration: none;
  transition: color 0.2s;
}

.sp-slide-title a:hover {
  color: var(--sp-text);
}

.sp-slide-meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sp-meta);
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sp-slide-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sp-text);
  margin: 0 0 20px;
  flex: 1;
}

.sp-slide-readmore {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sp-text);
  text-decoration: none;
  transition: color 0.2s;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.sp-slide-readmore:hover {
  color: var(--sp-title);
  border-bottom-color: currentColor;
}

.sp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--sp-arrow);
  font-size: 24px;
  font-family: inherit;
  cursor: pointer;
  padding: 12px;
  z-index: 2;
  transition: color 0.2s, opacity 0.2s;
  line-height: 1;
}

.sp-arrow:hover {
  color: var(--sp-arrow-hover);
}

.sp-arrow:disabled {
  opacity: 0.2;
  cursor: default;
}

.sp-prev {
  left: 8px;
}

.sp-next {
  right: 8px;
}

.sp-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 8px;
}

.sp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-dot);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.sp-dot.active {
  background: var(--sp-dot-active);
  transform: scale(1.2);
}

/* ============================================================
   POEM PAGE
   ============================================================ */
.poem-page {
  height: 86vh;
  display: flex;
  flex-direction: column;
  background: #0e0e0e;
  color: rgba(255, 255, 255, .75);
  font-family: 'Cormorant Garamond', Georgia, serif;
  -webkit-font-smoothing: antialiased
}

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

.poem-page-main {
  display: flex;
  flex: 1;
  min-height: 0
}

.poem-page-left {
  display: flex;
  flex: 1;
  min-width: 0;
  padding-right: 0;
  padding-bottom: 0
}

.poem-page-side {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  flex-shrink: 0
}

.poem-page-side span {
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  font-weight: 300;
  writing-mode: vertical-rl;
  transform: rotate(180deg)
}

.poem-page-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding-left: 24px
}

.poem-page-title {
  padding-top: 16px;
  padding-bottom: 40px
}

.poem-page-title h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  white-space: pre-line
}

.poem-page-body {
  font-size: 13px;
  line-height: 1.85;
  font-weight: 300;
  padding-top: 3em;
  padding-left: 3em;
}

.poem-page-body .elementor {
  max-width: none
}

.poem-page-photo {
  width: 38%;
  flex-shrink: 0;
  position: relative
}

.poem-page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-height: calc(100vh - 130px);
  display: block
}

.poem-page-photo-grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, #0e0e0e 0%, transparent 18%), linear-gradient(to left, #0e0e0e 0%, transparent 12%), linear-gradient(to bottom, #0e0e0e 0%, transparent 14%), linear-gradient(to top, #0e0e0e 0%, transparent 14%)
}

.poem-page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  flex-shrink: 0;
  z-index: 888888;
  background: #0e0e0e;
}

.poem-page-footer-inner {
  display: flex;
  align-items: center;
  gap: 24px
}

.poem-page-nav {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: 18px;
  font-family: inherit;
  cursor: pointer;
  transition: color .2s;
  padding: 4px 8px
}

.poem-page-nav:hover {
  color: #fff
}

.poem-page-nav:disabled,
.poem-page-nav[aria-disabled="true"] {
  opacity: .2;
  cursor: default
}

.poem-page-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, .2)
}

.poem-page-counter {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7)
}

.poem-page-loading {
  opacity: .4;
  pointer-events: none;
  transition: opacity .3s
}

.poem-page {
  position: relative
}

.poem-page-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 72px;
  background: #0e0e0e;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease
}

.poem-page.is-loading .poem-page-loader {
  opacity: 1;
  visibility: visible
}

.poem-page-loader::after {
  content: "";
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-top-color: #fff;
  border-radius: 50%;
  animation: poem-spin .9s linear infinite
}

@keyframes poem-spin {
  to {
    transform: rotate(360deg)
  }
}


/* ============================================================
   RESPONSIVE — TABLET & MOBILE
   ============================================================ */
@media (max-width: 1024px) {
  .dark-hero {
    min-height: 80vh;
  }

  .dark-hero-subtitle {
    font-size: 40px;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .wp-singular .header {
    padding-right: 2em;
    z-index: 999999;
  }

  .elementor-widget-sofia_feature_panel .feature-panel {
    height: 60vh !important;
    min-height: auto !important;
  }
}

@media (max-width: 900px) {
  :root {
    --pad-x: 28px;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .wp-singular .header {
    z-index: 999999;
  }

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

  .grid-item.wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  .ny-row.cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .ny-row.cols-3 .ny-item:last-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

  .ny-row.split-21,
  .ny-row.split-12 {
    grid-template-columns: 1fr;
  }

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

  .poem-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .poem-img {
    position: relative !important;
    height: auto !important;
    top: auto !important;
  }

  .poem-img img {
    height: auto !important;
  }

  .poem-text {
    min-height: auto !important;
  }

  .poem-img {
    order: 0 !important;
  }

  .poem-text {
    order: 1 !important;
    border-left: none !important;
    border-right: none !important;
  }

  .poem-block.reverse .poem-numeral {
    left: auto;
    right: 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-copy {
    padding-top: 0;
  }
}

/* ============================================================
   POEM PAGE & WIDGET — TABLET (stacked like mobile:
   image on top, text below)
   ============================================================ */
@media (max-width: 1024px) {

  /* Sofia Poem Widget */
  .poem-desktop {
    flex-direction: column;
  }

  .poem-photo {
    order: -1;
    width: 100%;
    margin-bottom: 2em !important;
  }

  .poem-photo img {
    position: static;
    top: auto;
    height: auto;
    max-height: 60vh;
  }

  .poem-desktop-left {
    padding-right: 0;
    padding-bottom: 0;
  }

  .poem-title-block {
    padding-left: 0;
  }

  .poem-columns {
    padding-left: 0;
  }

  /* Poem Page */
  .poem-page {
    height: auto;
    min-height: 86vh
  }

  .poem-page-main {
    flex-direction: column
  }

  .poem-page-photo {
    width: 100%;
    max-height: 50vh
  }

  .poem-page-photo img {
    max-height: 50vh
  }

  .poem-page-left {
    flex-direction: column;
    padding-right: 0
  }

  .poem-page-side {
    display: none
  }

  .poem-page-content {
    padding-left: 0;
    padding: 0
  }

  .poem-page-footer {
    position: sticky;
    bottom: 0
  }

  .poem-page-body {
    padding: 0;
  }

  .poem-content {
    padding: 0 2em 3em;
  }
}

@media (max-width: 767px) {
  :root {
    --pad-x: 20px;
  }

  .header {
    padding: 20px var(--pad-x);
  }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hero-meta {
    text-align: left;
  }

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

  .grid-item,
  .grid-item.wide {
    grid-column: span 1;
    aspect-ratio: 4/5;
  }

  .ny-row.cols-3 {
    grid-template-columns: 1fr;
  }

  .ny-row.cols-3 .ny-item:last-child {
    grid-column: span 1;
    aspect-ratio: 4/5;
  }

  .ny-item.full {
    aspect-ratio: auto;
  }

  .ny-item.sq,
  .ny-item.h32,
  .ny-item.v23 {
    aspect-ratio: auto;
  }

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

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-modal-inner {
    padding: 40px 24px;
  }

  .dark-hero {
    min-height: 70vh;
  }

  .dark-hero-content {
    padding: 30px 15px;
  }

  .dark-hero-heading {
    font-size: 12px;
    padding-bottom: 10px;
    letter-spacing: 1.5px;
  }

  .dark-hero-subtitle {
    font-size: 28px;
    margin-top: 15px;
    letter-spacing: 1px;
  }

  /* Poem — phone refinements (stacked layout inherited from ≤1024px) */
  .logo img {
    width: 100% !important;
  }

  .menu_hsh {
    display: none !important;
  }

  .poem-columns {
    font-size: 15px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  .sp-slide {
    flex: 0 0 calc((100% - (var(--sp-gap) * (var(--slides-show-tablet, 2) - 1))) / var(--slides-show-tablet, 2));
  }
}

/* Post Slider Mobile */
@media (max-width: 767px) {
  .sp-slide {
    flex: 0 0 calc((100% - (var(--sp-gap) * (var(--slides-show-mobile, 1) - 1))) / var(--slides-show-mobile, 1));
  }

  .sp-arrow {
    display: none;
  }
}

@media (min-width: 1024px) {
  .poem-mobile {
    display: none;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
.hero-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-sound-toggle {
  position:absolute; z-index:10; width:33px; height:33px; border-radius:50%;
  background:rgba(0,0,0,.45); color:#fff; border:1px solid rgba(255,255,255,.35);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.hero-sound-bottom-right { bottom:24px; right:24px; }
.hero-sound-bottom-left  { bottom:24px; left:24px; }
.hero-sound-top-right    { top:24px; right:24px; }
.hero-sound-top-left     { top:24px; left:24px; }
.hero-sound-toggle .icon-sound-on  { display:none; }
.hero-sound-toggle.is-unmuted .icon-sound-on  { display:block; }
.hero-sound-toggle.is-unmuted .icon-sound-off { display:none; }