/* Ivy Room Tattoo — one file, easy to tweak  */

:root {
  --bg: #070707;
  --bg-elevated: #111111;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #ff2d6a;
  --accent-soft: rgba(255, 45, 106, 0.15);
  --border: #27272a;
  --radius: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font);
  --max: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .menu-card {
    transition: none;
  }
  .showcase__track {
    animation: none;
  }
  .showcase__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    mask-image: none;
    -webkit-mask-image: none;
    scrollbar-color: var(--accent) var(--bg-elevated);
  }
  .showcase__paused-hint {
    display: none;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-size: 0.85em;
  background: var(--bg-elevated);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.55rem 0;
  min-height: 3.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__logo {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.88rem, 2.8vw, 1.05rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__tag {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.header-ig {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.header-ig:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.header-ig:hover {
  color: var(--accent);
  border-color: rgba(255, 45, 106, 0.4);
  text-decoration: none;
}

.header-ig__icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.header-ig__label {
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-toggle:hover {
  border-color: rgba(255, 45, 106, 0.4);
  background: var(--accent-soft);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle__bar {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 1.15rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.nav__link:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Mobile: drawer under bar */
@media (max-width: 767px) {
  .site-header__actions {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav__link--ig-desktop {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 0.85rem;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.35rem);
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .site-header.nav-open .nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(39, 39, 42, 0.85);
    border-radius: 0;
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 380px) {
  .header-ig__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .header-ig {
    padding: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav-toggle__bar {
    transition: none;
  }
}

/* Desktop: inline nav */
@media (min-width: 768px) {
  .site-header__actions {
    display: none;
  }

  .nav-toggle {
    display: none !important;
  }

  .brand__logo {
    width: 3.25rem;
    height: 3.25rem;
  }

  .nav {
    position: static;
    left: auto;
    width: auto;
    max-width: none;
    margin-left: 0;
    flex: 1;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body.nav-open {
    overflow: visible;
  }
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: stretch;
  row-gap: 1.25rem;
  padding: 2.25rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-soft), transparent),
    var(--bg);
}

.hero__inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  width: 100%;
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 1rem;
  color: var(--muted);
}

.hero__address {
  margin: 0;
  font-size: 0.95rem;
}

.hero__address a {
  color: var(--muted);
}

.hero__address a:hover {
  color: var(--accent);
}

.hero__showcase {
  display: block;
}

.hero__media {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.hero__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Desktop-only: announcements column beside hero image */
.hero__announce {
  display: none;
}

@media (min-width: 768px) {
  .hero__showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12.25rem, 17.5rem);
    gap: 1.25rem 1.5rem;
    align-items: start;
  }

  .hero__announce {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0;
    padding: 1.1rem 1.15rem 1.2rem;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  }

  .hero__announce-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .hero__announce-lede {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--muted);
  }

  .hero__announce-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero__announce-list li {
    margin: 0;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero__announce-list li:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
  }

  .hero__announce-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text);
    letter-spacing: 0.02em;
  }

  .hero__announce-body {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--muted);
  }

  .hero__announce-body a {
    font-weight: 600;
  }

  .hero__announce-cta {
    margin-top: 0.15rem;
    align-self: flex-start;
    padding: 0.5rem 0.95rem;
    font-size: 0.8rem;
    text-align: center;
  }

  .hero__announce-cta:hover {
    text-decoration: none;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .hero__showcase {
    grid-template-columns: minmax(0, 1fr) minmax(11.5rem, 14rem);
    gap: 1rem 1.1rem;
  }

  .hero__announce {
    padding: 0.95rem 1rem;
  }

  .hero__announce-lede,
  .hero__announce-body {
    font-size: 0.74rem;
  }
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section--alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.section__intro {
  margin: 0 0 2rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Artist “menu” grid */

.menu-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
  }
}

.menu-card {
  --thumb: #222;
  margin: 0;
  padding: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 45, 106, 0.45);
}

.menu-card__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--thumb, #222);
  background-size: cover;
  background-position: center;
}

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

.menu-card__thumb--rem {
  background: linear-gradient(145deg, #1a1a22 0%, #0e0e14 100%);
}

.menu-card__thumb--tac {
  background: linear-gradient(145deg, #222018 0%, #100e0a 100%);
}

.menu-card__body {
  padding: 0.85rem 0.9rem 1rem;
}

.menu-card__name {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.menu-card__note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.menu-card__note a {
  color: var(--muted);
}

.menu-card__note a:hover {
  color: var(--accent);
}

/* Showcase — horizontal marquee (duplicated row for seamless loop) */

.showcase .wrap {
  margin-bottom: 1.5rem;
}

.showcase__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-block: 0.5rem 1.25rem;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.showcase__track {
  width: max-content;
  animation: showcase-marquee 55s linear infinite;
}

.showcase__viewport:hover .showcase__track {
  animation-play-state: paused;
}

.showcase__paused-hint {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  max-width: calc(100% - 2rem);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: rgba(17, 17, 17, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.showcase__viewport:hover .showcase__paused-hint {
  opacity: 0.78;
  visibility: visible;
}

.showcase__paused-icon {
  display: inline-flex;
  gap: 3px;
  flex-shrink: 0;
}

.showcase__paused-icon::before,
.showcase__paused-icon::after {
  content: "";
  width: 3px;
  height: 10px;
  border-radius: 1px;
  background: rgba(255, 45, 106, 0.55);
}

@keyframes showcase-marquee {
  to {
    transform: translateX(-50%);
  }
}

.showcase__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: max-content;
}

.showcase__item {
  flex-shrink: 0;
}

.showcase__frame {
  margin: 0;
}

.showcase__frame img {
  display: block;
  width: min(72vw, 280px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.showcase__placeholder {
  position: relative;
  width: min(72vw, 280px);
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}

.showcase__placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      125deg,
      rgba(255, 45, 106, 0.07) 0%,
      transparent 42%,
      transparent 58%,
      rgba(255, 45, 106, 0.04) 100%
    ),
    var(--showcase-ph-bg, linear-gradient(160deg, #161616 0%, #0a0a0a 100%));
  pointer-events: none;
}

.showcase__placeholder::after {
  content: "Photo";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #52525b;
  pointer-events: none;
}

.showcase__placeholder--1 {
  --showcase-ph-bg: linear-gradient(155deg, #1a1418 0%, #0c0b0d 50%, #121016 100%);
}

.showcase__placeholder--2 {
  --showcase-ph-bg: linear-gradient(165deg, #141a17 0%, #0a0e0c 50%, #101412 100%);
}

.showcase__placeholder--3 {
  --showcase-ph-bg: linear-gradient(150deg, #18141c 0%, #0d0b10 50%, #14121a 100%);
}

.showcase__placeholder--4 {
  --showcase-ph-bg: linear-gradient(170deg, #1a1612 0%, #0e0c09 50%, #151310 100%);
}

.showcase__placeholder--5 {
  --showcase-ph-bg: linear-gradient(158deg, #12181a 0%, #080c0d 50%, #0f1416 100%);
}

.showcase__placeholder--6 {
  --showcase-ph-bg: linear-gradient(162deg, #1c1414 0%, #0f0a0a 50%, #161010 100%);
}

/* Book */

.book-form {
  max-width: 32rem;
}

.book-form__row {
  margin-bottom: 1.25rem;
}

.book-form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.book-form__select,
.book-form__textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.book-form__select {
  cursor: pointer;
}

.book-form__textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.5;
}

.book-form__textarea::placeholder {
  color: #71717a;
}

.book-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  color: var(--bg);
  background: var(--accent);
}

.btn--primary:hover {
  filter: brightness(1.08);
}

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

.btn--ghost:hover {
  border-color: rgba(255, 45, 106, 0.45);
  color: var(--accent);
}

.book-form__hint {
  margin: 1rem 0 0;
  min-height: 1.25em;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Visit */

.visit {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .visit {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.visit__address {
  margin: 0.75rem 0 1rem;
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
}

.visit__phone {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.visit__phone a {
  color: var(--text);
  font-weight: 600;
}

.visit__phone a:hover {
  color: var(--accent);
}

.visit__hint {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.visit__map {
  align-self: center;
}

.map-link {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bg);
  background: var(--accent);
  border-radius: 999px;
  text-decoration: none;
}

.map-link:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

/* Footer */

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer__inner {
  text-align: center;
}

.footer__copy,
.footer__owners {
  margin: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer__owners a {
  color: var(--muted);
}

.footer__owners a:hover {
  color: var(--accent);
}