@font-face {
  font-family: 'Lup Serif';
  src: url('assets/bodoni-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'Lup Serif';
  src: url('assets/bodoni-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Lup Sans';
  src: url('assets/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #faf7ef;
  --paper: #f1ebdf;
  --olive: #353f29;
  --olive-deep: #293320;
  --ink: #282d23;
  --muted: #5b5e50;
  --gold: #79633d;
  --line: #d8cfbd;
  --serif: 'Lup Serif', 'Baskerville', Georgia, serif;
  --sans: 'Lup Sans', 'Segoe UI', Arial, sans-serif;
  --edge: clamp(1.25rem, 5.2vw, 6rem);
  --floating-size: 3.75rem;
  --floating-right: max(.75rem, env(safe-area-inset-right));
  --floating-rail: calc(var(--floating-right) + var(--floating-size) + .45rem);
  --content-right: max(var(--edge), var(--floating-rail));
  --space: clamp(4rem, 8vw, 8rem);
  --header: 5.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + .75rem); }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 1rem/1.65 var(--sans); }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, p, ul, dl { margin: 0; }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }
h2 { font-size: clamp(2.55rem, 5.45vw, 5.45rem); line-height: .98; text-wrap: balance; }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.1; }
p { text-wrap: pretty; }
svg { flex: none; }
.shell { width: min(100% - var(--edge) - var(--content-right), 84rem); margin-inline: max(var(--edge), (100% - 84rem) / 2) auto; }
.skip-link { position: fixed; top: .75rem; left: 1rem; z-index: 10; transform: translateY(-180%); padding: .65rem 1rem; background: var(--ivory); color: var(--olive-deep); }
.skip-link:focus { transform: none; }
.eyebrow { display: block; color: var(--gold); font-size: .8125rem; font-weight: 650; line-height: 1.45; letter-spacing: .145em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1.15rem; border: 1px solid transparent; font-size: .875rem; font-weight: 650; line-height: 1.35; text-align: center; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.button svg, .text-link svg { width: 1.1rem; height: 1.1rem; }
.button-primary { background: var(--olive); color: var(--ivory); }
.button-primary:hover { background: var(--olive-deep); }
.button-secondary { border-color: #8a8d79; color: var(--olive-deep); }
.button-secondary:hover { background: var(--paper); border-color: var(--olive-deep); }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .35rem; width: fit-content; color: var(--olive); font-size: .875rem; font-weight: 650; text-decoration-line: underline; text-decoration-color: #9c916f; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-color: currentColor; }

.site-header { position: sticky; top: 0; z-index: 4; background: var(--olive-deep); color: var(--ivory); border-bottom: 1px solid #596048; }
.site-header .brand { color: var(--ivory); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--header); }
.brand { display: inline-flex; flex: none; flex-direction: column; align-items: center; width: fit-content; gap: .35rem; color: var(--olive-deep); text-decoration: none; }
.brand-name { display: block; font: 400 2.7rem/1.08 var(--serif); letter-spacing: -.075em; }
.brand-tag { display: block; font-size: .6875rem; font-weight: 700; line-height: 1.15; letter-spacing: .145em; text-transform: uppercase; }
#site-nav { display: flex; align-items: center; gap: clamp(1rem, 3.05vw, 3.25rem); }
#site-nav ul { display: flex; align-items: center; gap: inherit; list-style: none; padding: 0; }
#site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .875rem; font-weight: 550; text-decoration: none; white-space: nowrap; }
#site-nav a:hover { text-decoration: underline; }
.header-contact { flex: none; border-color: #b2a687; background: transparent; color: var(--ivory); }
.header-contact:hover { background: #414b33; }
#menu-toggle { display: none; }

.hero { background: #3f372a; color: var(--ivory); }
.hero-scene { position: relative; isolation: isolate; display: grid; align-items: center; min-height: calc(100svh - var(--header)); }
.hero-copy { position: relative; z-index: 1; max-width: 41rem; padding-block: clamp(2.75rem, 5.3vh, 4.5rem) 5rem; pointer-events: none; }
.hero-copy .eyebrow { margin-bottom: clamp(1rem, 2.1vw, 1.75rem); color: #f2d8a4; }
.hero h1 { color: #fff9ed; font-size: clamp(2.65rem, 6.15vw, 6.4rem); line-height: .94; letter-spacing: -.057em; text-shadow: 0 2px 18px #1c170e80; }
.hero h1 em { display: block; font-weight: inherit; color: #f5e4c5; }
.hero-copy > p:not(.eyebrow) { max-width: 25rem; margin-top: 1.35rem; color: #fcf3e5; font-size: clamp(1rem, 1.3vw, 1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-actions .button { pointer-events: auto; }
.hero-actions .button-primary { background: #f6e9cf; color: var(--olive-deep); }
.hero-actions .button-primary:hover { background: #e5d0a8; }
.hero-actions .button-secondary { border-color: #f8eed3b0; color: #fff6e7; background: #211d155e; }
.hero-actions .button-secondary:hover { background: #3a3729; }

.collections, .about, .inspiration, .visit { padding-block: var(--space); }
.section-intro { display: grid; gap: .8rem; margin-bottom: clamp(1.75rem, 4vw, 3.5rem); }
.section-intro > p:not(.eyebrow) { max-width: 37rem; color: var(--muted); }
.collections h2, .about h2, .inspiration h2, .visit h2 { color: var(--olive-deep); }
.collection-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.9rem); }
.collection-card { grid-column: span 3; display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid var(--line); }
.collection-card:nth-child(-n + 3) { grid-column: span 4; }
.collection-card img { aspect-ratio: 1.17; object-fit: cover; background: var(--paper); }
.collection-card:nth-child(-n + 3) img { aspect-ratio: 1.18; }
.collection-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1rem 0 .5rem; }
.collection-content h3 { color: var(--olive-deep); }
.collection-content p { margin-top: .45rem; color: var(--muted); }
.collection-content a { margin-top: auto; padding-top: .45rem; }
.section-note { margin-top: 1.4rem; color: var(--muted); font-size: .8125rem; }

.ambient { padding-block: var(--space); background: var(--olive-deep); color: var(--ivory); }
.ambient-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); align-items: center; gap: clamp(2rem, 7vw, 7.25rem); }
.ambient-copy { grid-column: 2; grid-row: 1; }
.ambient-copy .eyebrow { color: #d5bd87; margin-bottom: 1.05rem; }
.ambient-copy h2 { max-width: 14ch; color: #fbf6e8; font-size: clamp(2.55rem, 4.8vw, 5rem); }
.ambient-copy > p:not(.eyebrow) { margin-top: 1.1rem; color: #eee7d6; }
.ambient-copy .button { margin-top: 1.55rem; background: #f2ebd7; color: var(--olive-deep); }
.ambient-copy .button:hover { background: #e3d4ad; }
.ambient-media { grid-column: 1; grid-row: 1; }
.ambient-media img { aspect-ratio: 1.2; object-fit: cover; }
.ambient-caption { margin-top: .45rem; color: #e3d9c2; font-size: .8125rem; }

.compare { --comparison: 54%; position: absolute; inset: 0; }
.compare-stage { position: absolute; inset: 0; overflow: hidden; isolation: isolate; background: #706354; }
.compare-ready .compare-stage { touch-action: pan-y; cursor: ew-resize; user-select: none; }
.compare-stage img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 62% 54%; pointer-events: none; }
.compare-stage::after { position: absolute; inset: 0; background: linear-gradient(90deg, #1a180fe8, #231e1380 44%, #211d1515 76%), linear-gradient(0deg, #211d1599, transparent 35%); content: ''; pointer-events: none; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--comparison)); }
.compare-label { position: absolute; z-index: 1; top: 1rem; padding: .25rem .65rem; border: 1px solid #f8efd685; color: #fff5e1; background: #242318b8; font-size: .75rem; font-weight: 650; pointer-events: none; }
.label-before { left: var(--edge); }
.label-after { right: var(--content-right); }
.compare-hide-before .label-before, .compare-hide-after .label-after { visibility: hidden; }
.compare-line { position: absolute; z-index: 1; top: 0; bottom: 0; left: clamp(1px, var(--comparison), calc(100% - 1px)); width: 2px; background: #f8f4e9; pointer-events: none; transform: translateX(-50%); }
.compare-ready .compare-line::after { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #f8f4e9; border-radius: 50%; background: var(--olive-deep); color: var(--ivory); content: '‹  ›'; font-size: 1.3rem; transform: translate(-50%, -50%); }
.scene-controls { position: absolute; z-index: 2; right: var(--content-right); bottom: 1.5rem; width: fit-content; max-width: calc(100% - var(--edge) - var(--content-right)); padding: .55rem .9rem .35rem; border: 1px solid #efe2c981; background: #29291fe8; color: #fff7e7; font-size: .8125rem; }
.compare:not(.compare-ready) .scene-controls, .scene-auto-guide { display: none; }
.compare-range { display: block; width: 100%; min-height: 1.75rem; margin: 0; color: #fff; accent-color: #d5bd87; cursor: ew-resize; }
.compare-reset { padding: .15rem 0 .4rem; border: 0; color: inherit; background: transparent; text-decoration: underline; cursor: pointer; }
.compare-caption { position: absolute; left: var(--edge); bottom: 1.6rem; padding: .16rem .45rem; background: #28251dcb; color: #fbf0dc; font-size: .75rem; pointer-events: none; }

.about { background: #efe9dd; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.about-layout img { aspect-ratio: 1.23; object-fit: cover; background: #d8cbb5; }
.about-layout .eyebrow { margin-bottom: .9rem; }
.about-layout h2 { max-width: 12ch; text-wrap: initial; }
.about-layout p:not(.eyebrow) { max-width: 34rem; margin-top: 1rem; color: var(--muted); }
.about-layout figcaption { margin-top: .4rem; color: var(--muted); font-size: .8125rem; }
.gallery-grid { display: grid; grid-template-columns: 1.03fr .83fr 1.03fr; gap: clamp(.8rem, 2.5vw, 2rem); align-items: start; }
.gallery-grid figure { min-width: 0; }
.gallery-grid figure:nth-child(2) { margin-top: clamp(1.25rem, 4vw, 4rem); }
.gallery-grid img { aspect-ratio: .93; object-fit: cover; background: var(--paper); }
.gallery-grid figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
.inspiration .text-link { margin-top: 1rem; }

.visit { border-top: 1px solid var(--line); background: #eee7d8; }
.visit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: center; }
.visit-layout .eyebrow { margin-bottom: .85rem; }
.visit-layout p:not(.eyebrow) { max-width: 34rem; }
.visit-layout h2 + p { margin-top: 1rem; }
.visit-card { padding: clamp(1.3rem, 3.6vw, 3.35rem); border: 1px solid #c7bda8; background: var(--ivory); }
.visit-card h3 { color: var(--olive-deep); margin-bottom: .65rem; }
.visit-card address, .visit-card dl, .visit-card ul { margin-bottom: .75rem; }
.visit-card dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; border-top: 1px solid var(--line); padding-block: .4rem; }
.visit-card dd { margin: 0; }
.visit-card .button { margin: .45rem .45rem 0 0; }
.visit-card a:not(.button) { overflow-wrap: anywhere; }
.visit-links { display: flex; flex-wrap: wrap; gap: .1rem 1.15rem; list-style: none; padding: 0; }
.visit-delivery { margin-top: .9rem; }
.visit-delivery .text-link { display: inline; font-size: inherit; }
.visit-layout .button { margin-top: .8rem; }

.site-footer { background: var(--olive-deep); color: var(--ivory); padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.site-footer .brand, .site-footer .text-link { color: var(--ivory); }
.site-footer .brand { margin-bottom: .7rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: clamp(1.4rem, 5vw, 5rem); }
.site-footer nav, .footer-contact { display: grid; justify-items: start; align-content: start; }
.site-footer nav a, .footer-contact a { font-size: .9375rem; }
.footer-contact .eyebrow { margin-bottom: .45rem; color: #ddc797; }
.site-footer h2, .site-footer h3 { margin-bottom: .6rem; font: 650 .8125rem/1.4 var(--sans); letter-spacing: .11em; text-transform: uppercase; color: #ddc797; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer a:not(.brand) { display: inline-block; padding-block: .22rem; }
.site-footer p, .site-footer address { color: #eee7d8; }
.site-footer .footer-bottom { margin-top: 2rem; border-top: 1px solid #596048; padding-top: 1rem; padding-right: 4rem; font-size: .8125rem; }
.floating-whatsapp {
  position: fixed;
  right: var(--floating-right);
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 3;
  display: grid;
  place-items: center;
  width: var(--floating-size);
  height: var(--floating-size);
  border: 2px solid #f1fff5;
  border-radius: 50%;
  background: #25d366;
  color: #082d1b;
  box-shadow: 0 .3rem 1rem #101c1580;
  text-decoration: none;
  transition: background-color .18s ease;
}
.floating-whatsapp:hover { background: #42e077; }
.floating-whatsapp svg { width: 53%; height: 53%; }
.floating-whatsapp:focus-visible { outline: 2px solid #082d1b; outline-offset: 3px; box-shadow: 0 0 0 7px #f1fff5; }

@media (max-width: 800px) {
  :root { --header: 4.83rem; --floating-size: 3.25rem; --floating-right: max(.45rem, env(safe-area-inset-right)); }
  .header-inner { width: min(100% - var(--edge) * 2, 84rem); margin-inline: auto; flex-wrap: wrap; gap: 0 .75rem; padding-block: .55rem; }
  .header-inner .brand-name { font-size: 2.4rem; }
  .header-contact { order: 1; margin-left: auto; padding-inline: .62rem; min-height: 2.75rem; }
  #menu-toggle:not([hidden]) { display: grid; order: 2; place-items: center; gap: .1rem; width: 3.05rem; height: 2.75rem; padding: .3rem 0; border: 1px solid #b2a687; background: transparent; color: var(--ivory); font-size: .75rem; line-height: 1; cursor: pointer; }
  .menu-icon { width: 1rem; height: .55rem; border-block: 1px solid currentColor; }
  #site-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 0 1rem; }
  #site-nav ul { flex-wrap: wrap; }
  .site-header.menu-ready:not(.menu-open) #site-nav { display: none; }
  .site-header.menu-open #site-nav { padding-top: .6rem; }
  .hero-copy { padding-block: 4.3rem 9rem; }
  .hero h1 { font-size: clamp(2.6rem, 8.1vw, 5.1rem); }
  .hero-copy > p:not(.eyebrow) { margin-top: .95rem; }
  .hero-actions { margin-top: 1.2rem; }
  .compare-stage img { object-position: 67% center; }
  .compare-stage::after { background: linear-gradient(90deg, #201b14db, #221d1470 80%), linear-gradient(0deg, #221d149d, transparent 32%); }
  .compare-label { top: .75rem; }
  .scene-controls { left: var(--edge); right: auto; bottom: 1.95rem; }
  .compare-caption { bottom: .35rem; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-card, .collection-card:nth-child(-n + 3) { grid-column: span 1; }
  .collection-card img, .collection-card:nth-child(-n + 3) img { aspect-ratio: 1.16; }
  .ambient-layout, .about-layout, .visit-layout { grid-template-columns: minmax(0, 1fr); }
  .ambient-copy, .ambient-media { grid-column: auto; grid-row: auto; }
  .ambient-copy h2 { max-width: 13ch; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid figure:nth-child(2) { margin-top: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .floating-whatsapp { bottom: max(.55rem, env(safe-area-inset-bottom)); }
}

@media (max-width: 425px) {
  .hero-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .visit-card .button { margin-right: 0; }
}

@media (max-width: 360px) {
  .header-inner { column-gap: .5rem; }
  .header-contact { padding-inline: .48rem; font-size: .75rem; }
  .hero-copy { padding-block: 3.65rem 7.25rem; }
  .hero h1 { font-size: clamp(2.28rem, 10.5vw, 2.65rem); }
  .collection-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .scene-active .scene-auto-guide { display: block; }
  .scene-active .scene-drag-guide { display: none; }

  @media (min-height: 36rem) {
    .scene-active::after { display: block; height: clamp(14rem, 62svh, 33rem); content: ''; }
    .scene-active .hero-scene { position: sticky; top: var(--header); }
  }

  [data-reveal] {
    translate: 0 0;
    transition: opacity .62s ease-out, translate .8s cubic-bezier(.2, .65, .3, 1), clip-path .9s cubic-bezier(.2, .65, .3, 1);
  }

  [data-reveal="photo"] { clip-path: inset(0); }
  [data-reveal].reveal-pending:not(:focus-within) {
    opacity: 0;
    translate: 0 2.25rem;
    transition: none;
  }

  [data-reveal="photo"].reveal-pending:not(:focus-within) {
    opacity: .3;
    clip-path: inset(0 0 25% 0);
  }

  [data-reveal]:focus-within { clip-path: none; transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .compare-reset { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
