/*
Theme Name: Elena Navarro Tattoo
Theme URI: https://elenanavarrotattoo.com/
Author: Elena Navarro Tattoo
Description: Tema editorial y minimalista para el portfolio y estudio de Elena Navarro.
Version: 1.0.0
Text Domain: ent
*/

:root {
  --ink: #171714;
  --paper: #f2efe8;
  --paper-2: #e7e1d7;
  --acid: #c9ff34;
  --muted: #706d66;
  --line: rgba(23, 23, 20, .18);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.wrap { width: min(100%, 1600px); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow { margin: 0 0 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.display { margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 9vw, 9.5rem); font-weight: 400; line-height: .84; letter-spacing: -.055em; }
.title { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 6rem); font-weight: 400; line-height: .94; letter-spacing: -.04em; }
.lead { max-width: 42rem; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem;
  padding: .8rem 1.25rem; border: 1px solid var(--ink); border-radius: 100px;
  background: var(--ink); color: var(--paper); font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; transition: .2s ease;
}
.button:hover, .button:focus-visible { background: var(--acid); color: var(--ink); transform: translateY(-2px); }
.button--ghost { background: transparent; color: var(--ink); }
.site-header {
  position: sticky; z-index: 50; top: 0; display: flex; align-items: center; justify-content: space-between;
  min-height: 4.8rem; padding-inline: var(--pad); border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: .75rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: .7rem; height: .7rem; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 1px var(--ink); }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem); margin: 0; padding: 0; list-style: none; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.nav-list a:hover { opacity: .55; }
.menu-toggle { display: none; border: 0; background: none; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero { min-height: calc(100svh - 4.8rem); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(19rem, .65fr); }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(3rem, 7vw, 7rem) var(--pad) 2rem; }
.hero-copy .display span { display: block; margin-left: .55em; font-style: italic; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-top: 4rem; }
.hero-bottom p { max-width: 31rem; margin: 0; }
.hero-media { position: relative; min-height: 34rem; overflow: hidden; background: var(--ink); }
.hero-media img { height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.05); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)); }
.hero-note { position: absolute; z-index: 1; right: 1.5rem; bottom: 1.5rem; color: white; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-placeholder { height: 100%; min-height: 34rem; background: radial-gradient(circle at 70% 22%, #57574b 0, transparent 25%), linear-gradient(145deg, #262623, #090909); }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: .75rem 0; white-space: nowrap; }
.marquee-track { display: inline-block; animation: marquee 24s linear infinite; font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }
.section { padding-block: clamp(5rem, 10vw, 10rem); }
.section-head { display: grid; grid-template-columns: .45fr 1fr; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-head .lead { margin: 1rem 0 0; }
.dark { color: var(--paper); background: var(--ink); }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.8rem, 2vw, 1.5rem); }
.work-card { grid-column: span 4; margin-bottom: clamp(2rem, 5vw, 6rem); }
.work-card:nth-child(5n + 2), .work-card:nth-child(5n + 4) { grid-column: span 5; }
.work-card:nth-child(5n + 3), .work-card:nth-child(5n + 5) { grid-column: span 3; }
.work-image { aspect-ratio: 4 / 5; overflow: hidden; background: #d5d0c8; }
.work-image img { height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.work-card:hover img { transform: scale(1.025); }
.work-meta { display: flex; justify-content: space-between; gap: 1rem; padding-top: .8rem; border-top: 1px solid currentColor; margin-top: .8rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.work-empty { display: grid; place-items: center; min-height: 22rem; border: 1px solid var(--line); color: var(--muted); text-align: center; padding: 2rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(242,239,232,.3); }
.process-step { padding: 1.5rem 1.5rem 3rem 0; border-right: 1px solid rgba(242,239,232,.3); }
.process-step + .process-step { padding-left: 1.5rem; }
.process-step:last-child { border-right: 0; }
.process-number { display: block; margin-bottom: 5rem; color: var(--acid); font-size: .75rem; }
.process-step h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; margin: 0 0 1rem; }
.studio-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.studio-media { min-height: 42rem; background: var(--paper-2); overflow: hidden; }
.studio-media img { height: 100%; object-fit: cover; }
.studio-copy .title { margin-bottom: 2rem; }
.studio-facts { margin: 3rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.studio-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.booking { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 9rem); }
.booking-panel { padding: clamp(1.2rem, 3vw, 3rem); background: var(--paper); color: var(--ink); }
.booking-panel input, .booking-panel textarea, .booking-panel select {
  width: 100%; padding: .9rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
}
.booking-panel button, .booking-panel input[type="submit"] { margin-top: 1rem; cursor: pointer; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.faq summary { display: flex; justify-content: space-between; cursor: pointer; font-family: var(--serif); font-size: 1.5rem; list-style: none; }
.faq summary::after { content: "+"; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 46rem; color: var(--muted); }
.site-footer { padding: clamp(4rem, 8vw, 8rem) var(--pad) 2rem; color: var(--paper); background: var(--ink); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.footer-title { margin: 0; max-width: 900px; font-family: var(--serif); font-size: clamp(3rem, 8vw, 8rem); font-weight: 400; line-height: .85; letter-spacing: -.05em; }
.footer-links { display: grid; gap: .7rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 7rem; padding-top: 1rem; border-top: 1px solid rgba(242,239,232,.25); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.whatsapp { position: fixed; z-index: 45; right: 1.2rem; bottom: 1.2rem; display: grid; place-items: center; width: 3.7rem; height: 3.7rem; border: 1px solid var(--ink); border-radius: 50%; background: var(--acid); font-size: .68rem; font-weight: 800; }
.page-hero { padding: clamp(5rem, 10vw, 10rem) var(--pad); border-bottom: 1px solid var(--line); }
.page-content { max-width: 850px; padding-block: 5rem 8rem; }
.page-content h2 { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 4.8rem 0 0; display: none; padding: 2rem var(--pad); background: var(--ink); color: var(--paper); }
  .menu-open .site-nav { display: block; }
  .nav-list { align-items: flex-start; flex-direction: column; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 65svh; }
  .hero-bottom, .footer-top { align-items: flex-start; flex-direction: column; display: flex; }
  .section-head, .studio-grid, .booking { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card, .work-card:nth-child(n) { grid-column: span 1; margin-bottom: 2rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(n+3) { border-top: 1px solid rgba(242,239,232,.3); }
  .studio-media { min-height: 60svh; }
}

@media (max-width: 600px) {
  .display { font-size: clamp(3.15rem, 16vw, 5rem); }
  .hero-copy { min-height: 72svh; }
  .hero-bottom { align-items: stretch; }
  .portfolio-grid, .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { padding: 1.5rem 0 2.5rem; border-right: 0; border-top: 1px solid rgba(242,239,232,.3); }
  .process-number { margin-bottom: 2rem; }
  .footer-bottom { flex-direction: column; margin-top: 4rem; }
}
