/* Alma Doble Filo — BASE: tokens, type, shared components.
   Layout lives in desktop.css (>=751px) and mobile.css (<=750px) —
   two EXPLICIT layouts split at Wix's own 750px mobile breakpoint.
   Nothing in this file may depend on viewport width. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/cormorant-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic; font-weight: 300; font-display: swap;
  src: url('/fonts/cormorant-300i.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/cormorant-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/baskerville-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/baskerville-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/baskerville-700.woff2') format('woff2');
}

/* Palette measured off the live Wix site (headless Chrome), not guessed.
   The canvas is black; white sections are the exception -- see .section.light.
   Header is TRANSPARENT over the black page, not a black bar. */
:root {
  --ink: #ffffff;           /* default text: white on black */
  --paper: #000000;         /* canvas */
  --grey: #b8becb;          /* color_18 (184,190,203) -- nav hover/selected */
  --hairline: rgba(255,255,255,0.18);
  --band: rgba(62, 66, 70, 0.8);   /* color_12 -- the About band */
  /* Light sections (e.g. ART PIECES, Thank you.) invert back to paper/ink. */
  --ink-on-light: #0b0b0b;
  --paper-light: #ffffff;
  --hairline-on-light: #d9d9d9;
  --grey-on-light: #727272;
  /* Header: menu --txt = color_37 (white); --txth/--txts = color_18;
     --trans = color 0.4s ease. Nav is Libre Baskerville 16px, Title Case,
     no letter-spacing, and centred. */
  --header-txt: #ffffff;
  --header-txt-hover: rgb(184, 190, 203);
  --header-trans: color 0.4s ease 0s;
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Libre Baskerville', Georgia, serif;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Wix: Cormorant Garamond Light, weight 400, with NEGATIVE tracking --
   H1 82px/-4.1px and H2 56-62px/-2.8px, i.e. about -0.05em.
   Sizes are set per layout (desktop.css / mobile.css). */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.kicker {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- header (visual identity; geometry per layout) ----------
   Wix: #SITE_HEADER background TRANSPARENT (rgba(0,0,0,0)) over the black
   canvas, position:sticky, no border/shadow/blur. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
}
.site-header .bar {
  display: grid;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--gutter);
  max-width: 1440px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .mark svg { width: 100%; height: 100%; display: block; }
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: var(--header-txt);
  white-space: nowrap;
}
/* Wix nav: Libre Baskerville 16px, Title Case, no tracking. */
nav.primary a {
  font-family: var(--body);
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--header-txt);
  transition: var(--header-trans);
}
nav.primary a:hover, nav.primary a[aria-current="page"] {
  color: var(--header-txt-hover);
}
.cart {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--header-txt);
  text-decoration: none;
  transition: var(--header-trans);
}
.cart:hover { color: var(--header-txt-hover); }
.cart svg { width: 22px; height: 22px; display: block; }
.cart .count {
  font-family: var(--body); font-size: .7rem; line-height: 1;
}
.nav-toggle {
  background: none; border: 0;
  font-family: var(--body); font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; cursor: pointer;
  color: var(--header-txt);
  transition: var(--header-trans);
}
.nav-toggle:hover { color: var(--header-txt-hover); }

/* ---------- layout blocks ---------- */
main { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
body { overflow-x: hidden; }  /* full-bleed sections use 50vw margins */
/* Full-bleed strips inside the centred main column. */
.about-band, .art-pieces, .mural-band, .thanks {
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
}
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section + .section { border-top: 1px solid var(--hairline); }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.center { text-align: center; margin-inline: auto; }

.rule-title {
  display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem;
}
.rule-title::after {
  content: ""; flex: 1; height: 1px; background: var(--ink);
}

/* ---------- home: hero + collage (geometry per layout) ----------
   Measured off live Wix: letterboxed hero art, centred uppercase H1,
   asymmetric collage; mobile reorders these via flex `order`. */
.hero-wix img { object-fit: cover; }  /* widths set per layout */
.site-title { text-transform: uppercase; text-align: center; }
.taglines p { color: var(--ink); }
.btn.discover {
  text-transform: none; letter-spacing: .02em; font-size: 1rem;
  padding: .7rem 3.2rem;
}

/* ---------- home: About band ---------- */
.about-band { background: var(--band); }
.ab-card { background: #000; }
.ab-card h2 { color: var(--ink); }
.ab-name { font-family: var(--display); font-weight: 300; line-height: 1.3; }
.ab-social { display: flex; gap: 1.6rem; }
.ab-social svg { width: 19px; height: 19px; fill: #fff; }
/* Wix buttons render in a plain sans, unlike the site serif. */
.btn.solid {
  background: var(--grey); color: #000; border: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: .95rem; letter-spacing: .06em; text-transform: none;
}
.btn.solid:hover { background: #cdd2dd; color: #000; }

/* ---------- home: white ART PIECES ---------- */
.art-pieces { background: var(--paper-light); color: var(--ink-on-light); }
.art-pieces .card .label { color: var(--ink-on-light); }
.art-pieces .card .sub.price { color: var(--ink-on-light); }
.ap-rule { height: 1px; background: #9a9a9a; }

/* ---------- home: mural + overlaid blog cards ---------- */
.mural-band { position: relative; }
.mural { width: 100%; display: block; object-fit: cover; }
.bcards { position: absolute; left: 0; right: 0; }
.bcard {
  background: #fff; color: #0b0b0b; border: 1px solid #b8becb;
  display: block; text-decoration: none; padding: 1.05rem 1.15rem;
}
.bcard h3 {
  font-family: var(--body); font-size: .92rem; font-weight: 400;
  letter-spacing: 0; line-height: 1.4; color: #5f6672;
}
.bcard .ba { font-size: .8rem; margin-top: .9rem; }
.bcard .bd { font-size: .8rem; }

/* ---------- home: Thank you. + dedication (desktop only) ---------- */
.thanks { background: var(--paper-light); color: var(--ink-on-light); }
.dedication {
  background: #000; color: #fff; text-align: center;
  letter-spacing: .06em; font-size: .92rem;
  padding: 2rem 2.5rem;
}

/* ---------- cards & grids (column counts per layout) ---------- */
.grid { display: grid; gap: var(--gutter); }

.card { text-decoration: none; display: block; }
.card .frame { overflow: hidden; background: #f4f4f4; }
.card img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1), filter .6s;
}
.card:hover img { transform: scale(1.04); }
.card .label {
  margin-top: .9rem;
  font-family: var(--display); font-size: 1.35rem; font-weight: 300;
}
.card .sub { font-size: .8rem; color: var(--grey); margin-top: .15rem; }

/* ---------- masonry gallery (column count per layout) ---------- */
.masonry { column-gap: 1.2rem; }
.masonry figure { break-inside: avoid; margin: 0 0 1.2rem; }
.masonry img { width: 100%; cursor: zoom-in; }
.masonry figcaption {
  font-size: .74rem; color: var(--grey); padding-top: .4rem;
  font-style: italic;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,8,8,0.96);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; padding: 3rem 1.5rem 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 82vh; max-width: 92vw; width: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,.7);
}
.lightbox .cap {
  color: #bbb; font-style: italic; font-size: .85rem; margin-top: 1rem;
  font-family: var(--body);
}
.lightbox button {
  position: absolute; background: none; border: 0; color: #eee;
  font-size: 2rem; cursor: pointer; padding: .5rem 1rem;
  font-family: var(--display);
}
.lightbox .close { top: .8rem; right: 1rem; }
.lightbox .prev { left: .4rem; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: .4rem; top: 50%; transform: translateY(-50%); }

/* ---------- shop ---------- */
.price { font-size: .95rem; margin-top: .3rem; }
.product-layout { display: grid; gap: var(--gutter); align-items: start; }
.product-layout .frame img { cursor: zoom-in; }
.buy-note { font-size: .82rem; color: var(--grey); margin-top: 1rem; }
.btn {
  display: inline-block; margin-top: 1.6rem;
  padding: .95rem 2.6rem;
  background: var(--ink); color: var(--paper);
  font-family: var(--body); font-size: .78rem;
  letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--ink);
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.thumbs { display: flex; gap: .6rem; margin-top: .8rem; }
.thumbs img {
  width: 72px; aspect-ratio: 1; object-fit: cover; cursor: pointer;
  opacity: .65; transition: opacity .25s;
}
.thumbs img:hover, .thumbs img.active { opacity: 1; }

.cat-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; margin: 1rem 0 2.5rem; }
.cat-nav a {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--grey);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.cat-nav a:hover, .cat-nav a.active { color: var(--ink); border-color: var(--ink); }

/* ---------- blog ---------- */
.post-list { display: grid; gap: 0; max-width: 46rem; }
.post-item {
  padding: 2.2rem 0; border-bottom: 1px solid var(--hairline);
  text-decoration: none; display: block;
}
.post-item h3 { transition: opacity .25s; }
.post-item:hover h3 { opacity: .55; }
.post-item .meta { font-size: .74rem; color: var(--grey); margin-top: .5rem;
  letter-spacing: .1em; }
.post-item p { margin-top: .7rem; color: #3a3a3a; font-size: .92rem; }
.post-header { max-width: 46rem; }
.post-header .meta { color: var(--grey); font-size: .8rem; margin-top: 1rem; }
.post-body { max-width: 46rem; margin-top: 2.5rem; }
.post-body p + p { margin-top: 1.2em; }

/* ---------- poem ---------- */
.poem {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 1.35rem; line-height: 1.7;
  border-left: 2px solid var(--ink);
  padding: .4rem 0 .4rem 2rem; margin: 2.5rem 0;
  white-space: pre-line;
}

/* ---------- project pages ---------- */
.project-meta {
  display: flex; gap: 3rem; flex-wrap: wrap; margin: 1.8rem 0 0;
}
.project-meta div h4 {
  font-family: var(--body); font-size: .68rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--grey); font-weight: 400;
}
.project-meta div p { font-size: .9rem; margin-top: .3rem; }
.project-nav {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 2.5rem 0 0; margin-top: 3rem; border-top: 1px solid var(--ink);
}
.project-nav a {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none;
}
.project-nav a:hover { opacity: .55; }

/* ---------- footer (measured Wix: slate band, white subscribe panel,
   gradient contact panel; panel arrangement per layout) ---------- */
/* padding-top keeps child margins from collapsing through the top edge
   (a collapsed margin paints as a page-black strip above the footer) */
.site-footer { background: #939aa2; color: #0b0b0b; padding-top: 2.4rem; }
.f-rule { height: 1px; background: #3f444a; }
.f-sub { background: var(--paper-light); color: var(--ink-on-light); }
.f-brand { font-family: var(--display); font-size: 1.9rem; font-weight: 400; }
.f-subhead {
  font-family: var(--display); font-weight: 300; font-size: 2.3rem;
  letter-spacing: -0.03em;
}
.f-form { margin-top: 1.6rem; }
.f-label { display: block; font-size: .95rem; }
.f-input {
  display: block; width: 100%; max-width: 22rem;
  border: 0; border-bottom: 1px solid #0b0b0b; border-radius: 0;
  background: transparent; font: inherit; padding: .45rem 0;
}
.f-input:focus { outline: none; border-bottom-width: 2px; }
.f-join {
  border: 1px solid #0b0b0b; background: transparent; color: #0b0b0b;
  font-family: var(--body); font-size: 1rem; cursor: pointer;
  padding: .75rem 2.8rem; margin-top: 1.3rem;
  transition: background .3s, color .3s;
}
.f-join:hover { background: #0b0b0b; color: #fff; }
.f-check {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .95rem; margin-top: 1rem;
}
.f-contact a { text-decoration: none; }
.f-mail { font-size: 1rem; }
.f-legal { list-style: none; }
.f-legal a { text-decoration: underline; text-underline-offset: 3px; }
.f-legal li { padding: .1rem 0; }
.f-social { display: flex; gap: 1.15rem; }
.f-social img { width: 44px; height: 44px; display: block; }
.f-copy, .f-copy-band { font-size: .9rem; }
.f-copy-band { border-top: 3px solid #000; padding: 2.6rem var(--gutter) 5rem; }

/* ---------- reveal on load ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px);
    animation: rise .9s cubic-bezier(.2,.6,.2,1) forwards; }
  .reveal.d1 { animation-delay: .12s; }
  .reveal.d2 { animation-delay: .24s; }
  .reveal.d3 { animation-delay: .36s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- misc ---------- */
.notice {
  font-size: .8rem; color: var(--grey); font-style: italic;
  border: 1px solid var(--hairline); padding: 1rem 1.4rem; margin: 2rem 0;
  max-width: var(--measure);
}
.breadcrumb { font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 2rem; }
.breadcrumb a { text-decoration: none; color: inherit; }
.breadcrumb a:hover { color: var(--ink); }
