:root { --ink: #3d2b1f; --gold: #b5893d; --cream: #fdf9f3; --ease: cubic-bezier(.22,1,.36,1); }
.noryx-signature { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; margin-top: 32px; color: #ADB2BB; font-size: 11px; font-weight: 400; line-height: 1.8; letter-spacing: .025em; }
#contato .noryx-signature-link, footer .noryx-signature-link { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: #F5F5F5; font-size: inherit; font-weight: 600; text-decoration: none; transition: color 250ms ease; }
#contato .noryx-signature-link:hover, footer .noryx-signature-link:hover { color: #AAC9F8; }
.noryx-signature-link:focus-visible { outline: 2px solid #B4CEFA; outline-offset: 4px; border-radius: 2px; }
.noryx-signature-arrow { display: inline-block; transition: transform 250ms ease; }
.noryx-signature-link:hover .noryx-signature-arrow, .noryx-signature-link:focus-visible .noryx-signature-arrow { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .noryx-signature-link:hover .noryx-signature-arrow, .noryx-signature-link:focus-visible .noryx-signature-arrow { transform: none; } }
html { scroll-behavior: smooth; }
body { margin: 0; background-color: #fdf9f3; color: #3d2b1f; }
.category-card { position: relative; overflow: hidden; cursor: pointer; transition: all .5s cubic-bezier(.4,0,.2,1); }
.category-card img { transition: transform .8s ease; }
.category-overlay { transition: opacity .4s ease; }
.masonry { column-count: 1; column-gap: 1.5rem; }
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
::selection { background: #e9c59a; color: var(--ink); }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
button { font: inherit; }
.specular-button { position: relative; border-radius: 18px; transition: background-color .3s, color .3s, box-shadow .35s, transform .35s var(--ease); box-shadow: inset 0 0 0 1px #b5893d33, 0 6px 24px #3d2b1f0a; }
.specular-button:hover { box-shadow: inset 0 0 0 1px #d6b47899, 0 10px 28px #3d2b1f1c; }
.specular-button:active { transform: scale(.98); }
.specular-button:disabled, .specular-button[aria-disabled="true"] { opacity: .5; cursor: default; transform: none; }
.specular-layer { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 200; }
nav { transition: box-shadow .4s, background-color .4s; }
body.is-scrolled > nav { box-shadow: 0 8px 32px #3d2b1f0a; }
nav a:not(.specular-button) { text-underline-offset: 7px; }
nav a:not(.specular-button):hover { text-decoration: underline; text-decoration-color: #b5893d88; }
body:not(.gallery-page) > nav a[href="#inicio"], body:not(.gallery-page) > nav a[href="#preferencias"], body:not(.gallery-page) > nav a[href="#categorias"] { padding: 10px 12px; box-shadow: none; }
.eyebrow { font-size: 10px; font-weight: 600; line-height: 1.8; letter-spacing: .23em; text-transform: uppercase; color: #886428; }
.hero-copy { max-width: 550px; width: 100%; }
.hero-copy .hero-eyebrow { color: #f0d5a4; font-size: 9px; margin-bottom: 28px; text-shadow: none; }
.hero-story { display: grid; }
.hero-chapter { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .45s ease, transform .6s var(--ease), visibility .45s; pointer-events: none; }
.hero-chapter.is-current { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.hero-chapter h1, .hero-chapter h2 { font-size: clamp(3rem, 4.8vw, 4.8rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 500; margin: 0; }
.hero-chapter em { color: #e8c078; font-weight: 500; }
.hero-chapter p { max-width: 370px; margin: 24px 0 0; font-size: .9rem; line-height: 1.8; }
.hero-cta { display: inline-flex; align-items: center; gap: 24px; padding: 19px 28px; margin-top: 30px; font-size: 12px; font-weight: 600; }
.hero-cta i { transition: transform .35s var(--ease); }
.hero-cta:hover i { transform: translateX(4px); }
.hero-chapters { display: flex; gap: 20px; margin-top: 36px; }
.hero-chapters span { position: relative; padding-top: 12px; font-size: 8px; letter-spacing: .08em; color: #fdf9f399; transition: color .4s; }
.hero-chapters span::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: #fff3; }
.hero-chapters span.is-current { color: #f0d5a4; }
.hero-chapters span.is-current::before { background: #f0d5a4; }
.atelier-section { padding: 128px 32px; background: #fffcf7; }
.atelier-layout { max-width: 1160px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.atelier-photo { position: relative; padding-bottom: 32px; }
.atelier-photo img { width: 100%; height: 560px; object-fit: cover; border-radius: 160px 160px 12px 12px; }
.photo-note { display: block; margin-top: 20px; font-size: 10px; color: #806c5c; letter-spacing: .06em; }
.atelier-copy h2, .section-heading h2 { font-size: clamp(2.25rem, 3.6vw, 3.8rem); letter-spacing: -.035em; line-height: 1.15; margin: 20px 0 30px; }
.atelier-copy h2 em, .section-heading em { color: #a57539; }
.atelier-copy > p:not(.eyebrow) { color: #79685c; line-height: 1.9; font-size: 14px; margin-bottom: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 24px; padding: 15px 18px; margin: 14px 0; font-size: 12px; font-weight: 600; }
.atelier-signature { margin-top: 32px; padding-top: 26px; border-top: 1px solid #b5893d33; font-size: 11px; color: #806c5c; }
.atelier-signature span { display: block; font-size: 26px; margin-top: 8px; color: var(--ink); }
#categorias { padding-top: 112px; padding-bottom: 120px; }
#categorias h2 { letter-spacing: -.035em; line-height: 1.15; font-size: clamp(2.4rem, 4vw, 3.8rem); }
.category-card { display: block; border-radius: 120px 120px 20px 20px !important; box-shadow: 0 12px 40px #3d2b1f08; }
.category-card:hover img { transform: scale(1.045) !important; }
.category-card:focus-visible { outline-offset: 5px; }
.category-card h3 { font-size: 1.85rem; }
.category-card .category-overlay { background: linear-gradient(0deg, #291b13ed, #291b1355 55%, transparent 85%); opacity: 1; }
.category-description { opacity: 1; line-height: 1.7; }
.category-card .category-overlay > span:last-child { color: #efd098; }
.category-card .category-overlay > span:first-child { color: #f0d5a4; font-size: 9px; }
.commission-section { padding: 110px 32px; border-top: 1px solid #b5893d26; background: #f4ede3; }
.section-heading { max-width: 1160px; margin: auto; }
.commission-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; max-width: 1160px; margin: 60px auto 0; }
.commission-steps article { border-top: 1px solid #b5893d55; padding-top: 24px; }
.commission-steps article > span { font-size: 11px; color: #997343; }
.commission-steps h3 { font-size: 30px; margin: 22px 0 14px; }
.commission-steps p { font-size: 13px; line-height: 1.9; color: #79685c; max-width: 300px; }
#contato { background-image: radial-gradient(ellipse at 50% 0, #77533155, transparent 70%); }
#contato h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); letter-spacing: -.035em; }
#contato p { max-width: 620px; margin-left: auto; margin-right: auto; font-size: 16px; line-height: 1.8; }
#contato a { padding: 18px 26px; font-size: 12px; }
/* Reveal is an enhancement: content is visible without JS or without IO. */
[data-reveal].will-reveal { opacity: 0; transform: translateY(24px); }
[data-reveal] { transition: opacity .8s ease, transform .9s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.gallery-page header { padding: 88px 24px 32px; }
.gallery-page header h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -.04em; line-height: 1.1; }
.gallery-page header p { font-size: 14px; line-height: 1.9; }
.gallery-page header > div > span { font-size: 9px; color: #957039; }
.gallery-page > nav:first-of-type > div { gap: 20px; }
.gallery-page > nav:first-of-type .w-24 { display: none; }
.gallery-page > nav:first-of-type a { padding: 10px 16px; }
.collection-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 56px; padding: 16px 24px; }
.collection-nav a { padding: 12px 24px; font-size: 11px; border-radius: 30px; }
.collection-nav [aria-current="page"] { background: var(--ink); color: var(--cream); }
.photo-card { display: inline-block; width: 100%; margin-bottom: 28px; break-inside: avoid; }
.photo-card:hover { transform: none; }
.photo-button { display: block; width: 100%; padding: 0; background: transparent; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; position: relative; }
.photo-button img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.photo-button:hover img { transform: scale(1.035); }
.photo-zoom { position: absolute; bottom: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fdf9f3e8; color: var(--ink); font-size: 20px; }
.photo-card figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px 0; font-size: 11px; color: #79685c; }
.photo-card figcaption span:last-child { font-size: 9px; letter-spacing: .12em; color: #a98e70; }
#lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 80px 64px; color: #fff7ec; background: #281b15f5; overflow: auto; }
#lightbox[open] { display: flex; align-items: center; justify-content: center; }
#lightbox::backdrop { background: #281b15; }
#lightbox figure { margin: 0; max-width: 100%; }
#lightbox-img { display: block; max-width: 100%; max-height: calc(100svh - 200px); margin: auto; border-radius: 12px; object-fit: contain; }
#lightbox-caption { text-align: center; font-size: 12px; margin-top: 20px; letter-spacing: .04em; }
#lightbox button { position: fixed; background: #ffffff0d; color: #fdf9f3; border: 1px solid #ffffff20; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; display: grid; place-items: center; }
.lightbox-close { right: 24px; top: 20px; }
.lightbox-prev { left: 12px; top: 50%; }
.lightbox-next { right: 12px; top: 50%; }
.gallery-page footer { background-image: radial-gradient(ellipse at top, #77533155, transparent 70%); }
.gallery-page footer p { max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.8; font-size: 14px; }
.gallery-page footer a { font-size: 12px; }
@media (max-width: 800px) {
  .atelier-section, .commission-section { padding: 72px 24px; }
  .atelier-layout { grid-template-columns: 1fr; gap: 42px; }
  .atelier-photo { max-width: 480px; width: 100%; margin: auto; }
  .atelier-photo img { height: 450px; }
  .commission-steps { gap: 30px; }
  #categorias { padding-top: 72px; padding-bottom: 72px; }
  .gallery-page > nav:first-of-type .font-serif { font-size: 18px; }
  .gallery-page header { padding-top: 64px; }
}
@media (max-width: 800px) and (orientation: portrait) {
  .hero-copy .hero-eyebrow { margin: 0 0 18px; font-size: 8px; letter-spacing: .13em; }
  .hero-story { margin-top: 0; }
  .hero-chapter h1, .hero-chapter h2 { font-size: clamp(2.3rem, 6.7vw, 3.6rem); }
  .hero-chapter p { margin-top: 16px; font-size: .8rem; line-height: 1.7; max-width: 350px; }
  .hero-copy .hero-cta { padding: 14px 20px; margin-top: 22px; font-size: 11px; }
  .hero-chapters { margin-top: 22px; gap: 16px; }
  .hero-chapters span { font-size: 7px; }
}
@media (max-width: 600px) {
  .commission-steps { grid-template-columns: 1fr; margin-top: 38px; }
  .commission-steps h3 { margin-top: 12px; }
  .atelier-photo img { height: 400px; }
  #lightbox { padding: 80px 24px 100px; }
  #lightbox .lightbox-prev, #lightbox .lightbox-next { top: auto; bottom: 24px; }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
}
@media (max-height: 600px) and (orientation: landscape) {
  .hero-copy .hero-eyebrow, .hero-chapters, .hero-scroll-cue { display: none !important; }
  .hero-chapter h1, .hero-chapter h2 { font-size: 2.4rem; }
  .hero-chapter p { margin-top: 12px; font-size: .75rem; max-width: 500px; }
  .hero-copy .hero-cta { margin-top: 14px; padding: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].will-reveal { opacity: 1; transform: none; }
  .specular-layer { display: none; }
  .photo-button:hover img, .category-card:hover img { transform: none !important; }
  .hero-chapters { display: none; }
}
