/* =========================================================
   CLOUDY TATTOO STUDIO
   Mobile-first / one-page
   ========================================================= */

:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --text: #f6f0f2;
  --muted: #aaa2a5;
  --pink: #f3bfd4;
  --pink-soft: #faedf2;
  --line: rgba(243, 191, 212, .25);
  --radius: 10px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --content-max: 560px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(to bottom, rgba(8,8,8,.94), transparent);
}

.logo {
  position: relative;
  z-index: 52;
  display: block;
  width: 84px;
}

.logo img,
.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.menu-button {
  position: relative;
  z-index: 52;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8,8,8,.55);
  display: grid;
  place-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--pink);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 51;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 90px 32px 40px;
  background: rgba(8,8,8,.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--serif);
  font-size: clamp(32px, 10vw, 54px);
  line-height: 1;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--pink);
}

/* =========================================================
   SHARED SECTION / TYPOGRAPHY PATTERNS
   ========================================================= */

.section {
  padding: 96px 24px;
}

.studio,
.artists,
.booking,
.find-us,
.contact {
  max-width: var(--content-max);
  margin: 0 auto;
}

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--pink);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.1;
  margin: 0 0 20px;
}

.section-copy {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 24px;
}

.prose p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 18px;
}

.prose a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.prose .sign-off {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--pink);
  margin-bottom: 32px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--pink);
  color: #1a0f14;
}

.cta span {
  transition: transform .2s ease;
}

.cta:hover span {
  transform: translateX(3px);
}

.cta-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

/* Scroll-reveal (respects prefers-reduced-motion below) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   1. HERO
   ========================================================= */

.hero {
  position: relative;
  padding: 0;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,8,.35) 0%, rgba(8,8,8,.55) 55%, rgba(8,8,8,.92) 100%);
}

.hero-glow {
  position: absolute;
  left: 50%;
  bottom: -20%;
  width: 140%;
  height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(243,191,212,.28), transparent 70%);
  filter: blur(10px);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 64px;
  width: 100%;
}

.hero-heading {
  font-family: var(--serif);
  font-weight: 500;
  /* mixed case: "Tatuointistudio" is long and must fit a 375px screen */
  font-size: clamp(32px, 9.4vw, 60px);
  line-height: 1.02;
  margin: 0 0 14px;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(18px, 5vw, 24px);
  color: var(--pink);
  margin: 0 0 28px;
}

/* =========================================================
   2. THE STUDIO
   ========================================================= */

.studio-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}

/* =========================================================
   3. ARTISTIT (profile + portfolio live together)
   ========================================================= */

.artist-grid {
  display: grid;
  gap: 64px;
}

.artist-card {
  text-align: left;
}

.artist-media {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.artist-role {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 6px;
}

.artist-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 8px;
}

.artist-link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  margin-bottom: 18px;
}

.artist-bio {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 28px;
}

.portfolio-label {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.portfolio-item {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

/* If a photo file is missing, don't show broken-image alt text on the page
   (alt stays in the HTML for screen readers). */
.portfolio-item img {
  color: transparent;
  font-size: 0;
}

/* =========================================================
   4. AJANVARAUS + HINNASTO
   ========================================================= */

.booking .cta {
  margin: 4px 0 44px;
}

.sub-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 14px;
}

.price-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.price-row dt {
  font-family: var(--serif);
  font-size: 18px;
}

.price-row dd {
  margin: 0;
  color: var(--pink);
  font-size: 14px;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* =========================================================
   6. FIND US
   ========================================================= */

.map-embed-wrap {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.map-embed {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.4) invert(.92) contrast(.9);
}

.address-line {
  color: var(--muted);
  margin-bottom: 24px;
}

/* =========================================================
   6. CONTACT
   ========================================================= */

.contact-list {
  display: grid;
  gap: 20px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-item a {
  font-family: var(--serif);
  font-size: 22px;
}

/* =========================================================
   8. FOOTER
   ========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-glow {
  position: absolute;
  left: 50%;
  top: -40px;
  width: 220px;
  height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(243,191,212,.16), transparent 70%);
  filter: blur(12px);
}

.footer-logo {
  position: relative;
  display: block;
  width: 120px;
  margin: 0 auto 16px;
}

.site-footer p {
  margin: 0 0 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-links a {
  border-bottom: 1px solid var(--line);
}

.footer-credits {
  font-size: 11px;
  line-height: 1.7;
  opacity: .7;
}

.footer-copy {
  font-size: 11px;
  opacity: .7;
}

/* =========================================================
   RESPONSIVE (desktop stays functional, not redesigned)
   ========================================================= */

@media (min-width: 640px) {
  .artist-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cta span {
    transition: none;
  }
}
