:root {
  --ink: #11110f;
  --paper: #f8f8f8;
  --mist: #d7d5ce;
  --accent: #a79b84;
  --line: rgba(17, 17, 15, .18);
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Italiana", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.5; }
body > main { flex: 1 0 auto; width: 100%; min-width: 0; }
body > header, body > footer, body > aside { flex-shrink: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 20; background: var(--paper); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding: 0 3vw; background: rgba(248,248,248,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { justify-self: start; font-size: 1.1rem; font-weight: 500; letter-spacing: .24em; text-decoration: none; }
.brand-logo { display: block; width: auto; height: 30px; max-width: 160px; object-fit: contain; }
.site-footer .brand-logo { filter: invert(1); height: 36px; }
nav { display: flex; gap: 1.6rem; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .5rem; }
.nav-professional { display: none; }
nav a, .header-cta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.header-cta { justify-self: end; border-bottom: 1px solid; padding-bottom: .3rem; }
.menu-toggle { display: none; }
.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(280px, .78fr) 1.22fr; grid-template-rows: 1fr auto; gap: 0 4vw; padding: 4vw 3vw 2vw; }
.hero-copy { align-self: center; max-width: 40rem; padding: 4vw 2vw 4vw 3vw; }
.eyebrow { margin: 0 0 2.5rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .94; margin: 0; }
h1 { font-size: clamp(4.2rem, 7.8vw, 9.2rem); letter-spacing: -.035em; }
.hero-statement { max-width: 26rem; margin: 2rem 0 3rem; font-size: 1.12rem; font-weight: 300; }
.text-link { display: inline-block; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid; padding-bottom: .35rem; }
.visual { background-position: center; background-size: cover; overflow: hidden; }
.placeholder { position: relative; background-color: #cac7bd; background-image: linear-gradient(128deg, transparent 0 48%, rgba(255,255,255,.22) 48% 48.3%, transparent 48.3%), radial-gradient(circle at 68% 30%, #e0ddd3 0 9%, transparent 9.2%), linear-gradient(150deg, #aaa79e, #d7d4ca 58%, #8d8b85); }
.placeholder::after { content: "NEBLAK / PREVIEW"; position: absolute; right: 1.2rem; top: 1.2rem; color: rgba(17,17,15,.65); font-size: .63rem; letter-spacing: .15em; }
.placeholder span { position: absolute; left: 1.2rem; bottom: 1.2rem; font-size: .68rem; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.hero-visual { min-height: 680px; }
.hero-index { align-self: end; margin: 1.2rem 0 0; font-family: var(--display); font-size: 1.25rem; }
.collections { padding: 4rem 3vw 6rem; }
.collection { border-top: 1px solid var(--line); padding: 2rem 0 9rem; }
.collection-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: 3rem; }
.collection-number { font-family: var(--display); font-size: 1.6rem; }
.collection-heading > div { display: flex; align-items: baseline; justify-content: space-between; }
.collection h3 { font-size: clamp(3rem, 5vw, 6.3rem); }
.collection-heading > div p { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.2vw; row-gap: clamp(24px, 3.5vw, 64px); align-items: start; }
.gallery-image { grid-column: span var(--gallery-span, 4); aspect-ratio: var(--image-ratio, 4 / 5); min-width: 0; margin: calc(var(--gallery-offset, 0) * 1vw) 0 0; background-color: var(--mist); }
.gallery-image picture, .gallery-image img { display: block; width: 100%; height: 100%; }
.gallery-image img { object-fit: cover; }
.gallery-image img:not([src]) { visibility: hidden; }
.gallery-enlarge { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-enlarge:focus-visible { outline: 2px solid var(--ink); outline-offset: -5px; }
body.photo-viewer-open { overflow: hidden; }
.photo-viewer { width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 2.5vw, 36px) clamp(20px, 4vw, 64px); border: 0; background: #11110f; color: var(--paper); overflow: hidden; }
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(16px, 2vw, 28px); animation: viewer-appear .18s ease-out; }
.photo-viewer::backdrop { background: #11110f; }
.photo-viewer-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-width: 0; }
.photo-viewer-title { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.15; overflow-wrap: anywhere; }
.photo-viewer-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid #ffffff40; border-radius: 50%; color: inherit; cursor: pointer; font-family: Arial, sans-serif; font-size: 28px; font-weight: 300; line-height: 1; }
.photo-viewer-close:hover { background: #ffffff10; border-color: #ffffff80; }
.photo-viewer button:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.photo-viewer-body { display: grid; min-width: 0; min-height: 0; gap: clamp(24px, 4vw, 64px); }
.photo-viewer.has-description .photo-viewer-body { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); }
.photo-viewer-stage { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; height: 100%; }
.photo-viewer img { display: block; width: 100%; height: 100%; object-fit: contain; }
.photo-viewer-caption { align-self: center; max-height: 100%; overflow-y: auto; margin: 0; padding: 24px 0; border-top: 1px solid #ffffff30; color: #e2e2dc; font-size: 1rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.photo-viewer-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding-top: 12px; border-top: 1px solid #ffffff24; }
.photo-viewer-controls button { justify-self: start; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: inherit; font-size: .875rem; letter-spacing: .08em; cursor: pointer; }
.photo-viewer-controls button:last-child { justify-self: end; }
.photo-viewer-controls button:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 6px; }
.photo-viewer-controls button:disabled { opacity: .35; cursor: default; }
.photo-viewer-count { grid-column: 2; grid-row: 1; margin: 0; color: #bdbdb5; font-size: .875rem; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
@keyframes viewer-appear { from { opacity: 0; } to { opacity: 1; } }
.hero:has(.hero-visual[hidden]) { grid-template-columns: 1fr; min-height: 0; padding-block: 2rem; }
.hero:has(.hero-visual[hidden]) .hero-copy { max-width: 64rem; }
.studio { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 760px; background: var(--ink); color: var(--paper); }
.studio-visual { min-height: 660px; filter: grayscale(1) contrast(1.05); }
.studio-copy { align-self: center; padding: 8vw; }
.studio-copy h2 { font-size: clamp(3.5rem, 6vw, 7rem); }
.studio-copy > p:not(.eyebrow) { max-width: 32rem; margin: 3rem 0; color: #c9c6bc; font-weight: 300; font-size: 1.05rem; }
.contact { padding: 10rem 6vw 6rem; }
.contact-heading { display: grid; grid-template-columns: .6fr 1.4fr 1fr; gap: 3vw; align-items: end; padding-bottom: 6rem; }
.contact-heading h2 { font-size: clamp(3.8rem, 7vw, 8rem); }
.contact-heading > p:last-child { max-width: 25rem; margin: 0 0 .6rem; font-weight: 300; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3vw; padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
label { display: grid; gap: .7rem; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
input, textarea, select { width: 100%; padding: .8rem 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(17,17,15,.4); border-radius: 0; outline: none; resize: vertical; font-size: 1rem; letter-spacing: normal; text-transform: none; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.form-actions button { border: 1px solid var(--ink); background: var(--ink); color: var(--paper); padding: 1rem 1.5rem; cursor: pointer; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.form-actions button:hover { background: transparent; color: var(--ink); }
.form-actions p { font-size: .75rem; color: #5c5a55; }
.direct-contact { display: flex; gap: 2rem; margin-top: 2.5rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
[hidden] { display: none !important; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 66px; }
  .menu-toggle { display: block; padding: .5rem 0; border: 0; background: none; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
  .header-cta { display: none; }
  nav { position: absolute; left: 0; right: 0; top: 66px; display: none; padding: 1.5rem 3vw 2rem; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; gap: 1.3rem; }
  nav.open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 0 0 2rem; }
  .hero-copy { order: 2; padding: 4rem 6vw 2rem; }
  .hero-visual { order: 1; min-height: 72vh; }
  .hero-index { order: 3; padding: 0 6vw; }
  .collections { padding: 3rem 5vw 4rem; }
  .collection { padding-bottom: 6rem; }
  .collection-heading { grid-template-columns: auto 1fr; gap: 2rem; }
  .collection-heading > div { display: block; }
  .gallery { column-gap: 2vw; }
  .gallery-image { grid-column: span var(--tablet-span, 6); }
  .photo-viewer.has-description .photo-viewer-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 16px; }
  .photo-viewer-caption { max-height: 20dvh; padding: 16px 0 0; font-size: 1rem; line-height: 1.5; }
  .studio { grid-template-columns: 1fr; }
  .studio-copy { padding: 6rem 6vw; }
  .contact { padding: 7rem 6vw 4rem; }
  .contact-heading { grid-template-columns: 1fr; padding-bottom: 4rem; }
}

@media (max-width: 540px) {
  h1 { font-size: clamp(3.8rem, 19vw, 5.4rem); }
  .hero-visual { min-height: 62vh; }
  .studio-copy h2, .contact-heading h2 { font-size: 3.6rem; }
  .collection-heading { align-items: start; }
  .collection h3 { font-size: 2.8rem; }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .gallery-image { grid-column: auto; width: var(--mobile-width, 100%); margin: 0; justify-self: var(--mobile-align, start); }
  .studio-visual { min-height: 70vh; }
  form { grid-template-columns: 1fr; }
  form label { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .direct-contact { flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .photo-viewer[open] { animation: none; } }

/* Nuevas páginas y footer: misma dirección editorial, sin alterar las galerías. */
.studio-intro { display: grid; grid-template-columns: .45fr 1.05fr 1fr; gap: 4vw; padding: 5rem 6vw; background: var(--ink); color: var(--paper); align-items: start; }
.studio-intro .eyebrow { margin: .4rem 0 0; }
.studio-intro h2 { max-width: 30rem; font-size: clamp(3rem, 4.7vw, 5.8rem); }
.studio-intro > div p { max-width: 29rem; color: #c9c6bc; font-weight: 300; margin: 0 0 1.8rem; }
.page-shell { max-width: 1440px; margin: 0 auto; padding: 0 6vw; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 7vw; padding: 4.5rem 0 3.5rem; }
.contact-copy .eyebrow { margin-bottom: 1.5rem; }
.contact-copy h1 { font-size: clamp(3.6rem, 5.5vw, 6rem); max-width: 29rem; }
.contact-description { max-width: 27rem; font-weight: 300; margin: 1.5rem 0 2rem; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.contact-details .eyebrow { margin: 0 0 .2rem; }
.contact-details a { font-size: .9rem; text-underline-offset: .3rem; overflow-wrap: anywhere; }
.contact-layout form { min-width: 0; padding: clamp(1.5rem, 3vw, 2.75rem); gap: 1.5rem; align-self: start; background: #eeeeec; border: 0; box-shadow: none; }
.contact-layout .form-title { margin: 0 0 .5rem; font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 3.5vw, 3.3rem); line-height: 1.1; }
.contact-layout label { min-width: 0; font-size: .875rem; letter-spacing: .04em; text-transform: none; gap: .6rem; }
.contact-layout input, .contact-layout textarea { padding: 1rem; background: #fff; border: 0; border-bottom: 1px solid #858581; line-height: 1.5; }
.contact-layout input::placeholder, .contact-layout textarea::placeholder { color: #686864; opacity: 1; font-weight: 300; }
.contact-layout input { min-height: 52px; }
.contact-layout textarea { min-height: 160px; }
.contact-layout input:focus, .contact-layout textarea:focus { background: #fff; border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: none; }
.contact-layout .form-actions { flex-direction: row; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.contact-layout .form-actions button { width: auto; min-height: 54px; padding: 1rem 1.6rem; font-size: .8rem; flex-shrink: 0; }
.contact-layout .form-actions p { margin: 0; font-size: .8rem; max-width: 15rem; flex: 1 1 10rem; text-align: left; }
.contact-location { padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); }
.location-copy { display: grid; grid-template-columns: 1fr 1fr auto; column-gap: 3vw; align-items: center; }
.location-copy .eyebrow { grid-column: 1; }
.location-copy h2 { grid-column: 1; }
.location-copy address { grid-column: 2; grid-row: 1 / span 2; }
.location-copy .text-link { grid-column: 3; grid-row: 1 / span 2; }
.location-copy .eyebrow { margin-bottom: 1.2rem; }
.location-copy h2 { font-size: clamp(2.5rem, 3.8vw, 4rem); }
address { font-style: normal; }
.location-copy address { margin: 1.3rem 0 1.6rem; }
.map-panel { width: 100%; height: 320px; min-width: 0; background: var(--mist); border: 1px solid var(--line); overflow: hidden; }
.map-panel iframe { display: block; width: 100%; height: 100%; border: 0; }
.about-page main { display: flex; align-items: center; }
.about-studio { width: 100%; min-height: 0; max-width: 1440px; margin: 0 auto; padding: 5rem 6vw; gap: 5vw; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; background: var(--paper); color: var(--ink); }
.about-studio .studio-visual { grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 9; filter: none; }
.about-studio .studio-copy { padding: 0; align-self: start; min-width: 0; }
.about-studio .eyebrow { margin: 0 0 1.8rem; }
.about-studio h1 { max-width: 9ch; font-size: clamp(3.4rem, 5.8vw, 5.8rem); line-height: 1; }
.about-studio .studio-copy > .about-intro { max-width: 22rem; margin: 1.8rem 0 0; color: var(--ink); font-weight: 300; font-size: 1.25rem; line-height: 1.5; }
.about-story { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.about-story p { margin: 0 0 1.3rem; max-width: 36rem; font-size: 1rem; font-weight: 300; line-height: 1.8; }
.about-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.8rem; }
.about-links .text-link { margin: 0; }
.site-footer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .85fr) minmax(0, 1.3fr); gap: 5vw; align-items: start; padding: 2rem 6vw; background: var(--ink); color: var(--paper); font-size: .875rem; line-height: 1.5; border-top: 1px solid #393934; }
.site-footer > div { min-width: 0; }
.footer-brand, .footer-details { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.site-footer .brand { font-size: 1.6rem; line-height: 1; margin: .2rem 0 1.2rem; }
.site-footer span { font-size: inherit; letter-spacing: inherit; }
.site-footer .brand span { letter-spacing: .22em; }
.site-footer address { color: #d0cec5; margin: 0; font-size: .8rem; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .3rem; }
.site-footer .brand { text-decoration: none; }
.footer-label { margin: 0 0 .5rem; color: #b4b1a6; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-instagram { display: flex; flex-direction: column; gap: .25rem; }
.footer-instagram span:first-child { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: #b4b1a6; }
.footer-location-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.footer-location-heading > a { flex-shrink: 0; font-size: .7rem; border-bottom: 1px solid #77756d; padding-bottom: .15rem; }
.map-compact { height: 140px; background: #292925; border: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .5rem; color: #b4b1a6; font-size: .7rem; }
button:focus-visible, a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
#colecciones { scroll-margin-top: 90px; }

@media (min-width: 861px) and (max-width: 1100px) {
  .site-header { column-gap: 1.2rem; grid-template-columns: auto 1fr auto; }
  nav { gap: 1rem; justify-content: center; }
  nav a, .header-cta { font-size: .7rem; letter-spacing: .08em; }
}
@media (max-width: 860px) {
  .nav-professional { display: block; }
  nav { max-height: calc(100dvh - 66px); overflow-y: auto; }
  .studio-intro { grid-template-columns: 1fr 1fr; padding: 3.5rem 6vw; gap: 2rem; }
  .studio-intro .eyebrow { grid-column: 1 / -1; }
  .contact-layout, .contact-location { gap: 4vw; }
  .contact-layout form { grid-template-columns: 1fr; }
  .contact-layout .form-actions { flex-direction: column; }
  .contact-layout .form-actions p { max-width: 100%; flex: none; }
  .site-footer { gap: 2rem; grid-template-columns: 1fr 1fr; }
  .footer-location { grid-column: 1 / -1; }
  .about-studio { padding: 3rem 6vw; }
}
@media (max-width: 600px) {
  .studio-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .studio-intro h2 { font-size: 3.2rem; }
  .contact-layout { grid-template-columns: 1fr; padding: 2.5rem 0; gap: 2rem; }
  .contact-copy h1 { font-size: 3.6rem; max-width: 24rem; }
  .contact-description { margin: 1.2rem 0 1.5rem; }
  .contact-layout form { grid-template-columns: 1fr; }
  .contact-layout .form-actions { gap: .8rem; }
  .contact-location { grid-template-columns: 1fr; padding: 2rem 0 2.5rem; gap: 1.6rem; }
  .location-copy { grid-template-columns: 1fr; gap: .8rem; justify-items: start; }
  .location-copy .eyebrow, .location-copy h2, .location-copy address, .location-copy .text-link { grid-column: auto; grid-row: auto; }
  .location-copy address { margin: .5rem 0; }
  .location-copy .eyebrow { margin: 0; }
  .map-panel { height: 280px; }
  .map-compact { height: 140px; }
  .about-studio { grid-template-columns: 1fr; padding: 2.5rem 6vw; gap: 2rem; }
  .about-studio h1 { font-size: 3rem; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; padding: 2rem 6vw; }
  .site-footer .brand { font-size: 1.2rem; margin-bottom: .8rem; }
  .footer-details { font-size: .8rem; }
  .footer-legal { margin-top: .25rem; }
}
@media (max-width: 360px) {
  .site-footer { grid-template-columns: 1fr; }
}
