.entry, .collection { margin: 0; }
.entry { background: #080707; }
.entry-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-looks a { display: block; position: relative; height: max(100svh, 65vw); overflow: hidden; }
.entry-looks a:focus-visible { outline: 3px solid #fff; outline-offset: -7px; z-index: 1; }
.entry-looks img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.entry-looks a:hover img { transform: scale(1.025); }

.collection {
  --gold: #a7833e;
  --black: #151410;
  color: var(--black);
  background: #fff;
  font: 1rem/1.6 system-ui, sans-serif;
  border-top: 4px solid var(--black);
}
.collection *, .collection *::before, .collection *::after { box-sizing: border-box; }
.collection a { color: inherit; text-decoration: none; }
.collection a:hover { text-decoration: underline; text-underline-offset: .25em; }
.collection a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.collection-header, .collection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding: 1.1rem max(5vw, 1rem);
  border-block: 1px solid var(--gold);
}
.collection-header nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.wordmark { font-size: 1.2rem; font-weight: 800; letter-spacing: .18em; }
.wordmark sup { color: #795b24; font-size: .58em; }
.collection-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--black);
}
.collection-copy { align-self: center; padding: clamp(2rem, 7vw, 7rem); }
.collection-copy p { max-width: 34rem; }
.collection-label { color: #795b24; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; font-size: .875rem; }
.collection h1, .collection h2, .collection h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.06; }
.collection h1 { font-size: clamp(2.6rem, 5vw, 6rem); margin: 1rem 0; letter-spacing: -.055em; }
.collection h1 em { color: #795b24; }
.collection-feature img { width: 100%; height: auto; align-self: center; display: block; border-left: 1px solid var(--gold); }
.collection .collection-button {
  display: inline-flex;
  margin-top: 1rem;
  padding: .7rem 1.1rem;
  background: var(--black);
  color: #fff;
  border: 1px solid var(--gold);
}
.collection-fabrics { width: min(72rem, 90%); margin: auto; padding: 3.5rem 0; }
.collection h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin: 0 0 1.5rem; }
.fabric-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fabric-options article { padding: 1.3rem; border: 1px solid var(--gold); border-top: 2px solid var(--black); }
.fabric-options h3 { margin: 0; font-size: 1.55rem; }
.fabric-options p { margin-bottom: 0; }
.collection-footer { background: var(--black); color: #fff; }

.arts {
  margin: 0;
  color: #fff;
  background: #050505;
  font: 1rem/1.6 system-ui, sans-serif;
}
.arts *, .arts *::before, .arts *::after { box-sizing: border-box; }
.arts a { color: inherit; }
.arts a:focus-visible { outline: 2px solid #ff9aca; outline-offset: 4px; }
.arts .collection-header, .arts .collection-footer { border-color: #6e3961; }
.arts .wordmark, .arts nav a { text-decoration: none; }
.arts .wordmark sup, .arts h1 em, .arts .source-link { color: #ff9aca; }
.arts-feature, .arts-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.arts-copy { padding: clamp(1.5rem, 5vw, 6rem); }
.arts-copy h1 { font-size: clamp(2.8rem, 6.2vw, 7rem); line-height: .98; margin: 0; }
.arts-feature > img, .brand-photo { width: 100%; height: auto; display: block; }
.arts-copy p, .arts-product p { color: #c9c5cc; }
.arts .collection-button {
  display: inline-block;
  padding: .7rem 1.1rem;
  background: #ff509e;
  color: #170811;
  font-weight: 700;
  text-decoration: none;
}
.arts .collection-button:hover { background: #ff9aca; }
.arts-catalog { width: min(72rem, 90%); margin: auto; padding: 3.5rem 0; }
.arts-catalog h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; margin: 0 0 1.5rem; }
.arts-product { gap: clamp(1rem, 5vw, 4rem); }
.arts-product h3 { font-size: 1.55rem; margin: 0; }
.arts-product img { border: 1px solid #6e3961; }
.arts-product .source-link { display: table; }
.fabric-options .brand-photo { margin-bottom: 1.25rem; }
.source-link {
  display: inline-block;
  margin-top: .75rem;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.collection .source-link { color: #795b24; text-decoration: underline; }

@media (max-width: 700px) {
  .entry-looks { grid-template-columns: 1fr; }
  .entry-looks a { height: max(70svh, 130vw); }
  .collection-feature, .fabric-options, .arts-feature, .arts-product { grid-template-columns: 1fr; }
  .collection-feature img { border-left: 0; border-top: 1px solid var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  .entry-looks img { transition: none; }
}

.collection, .arts { font-family: "Space Grotesk", system-ui, sans-serif; }
.collection h1, .collection h2, .collection h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}
.collection h1 { letter-spacing: -.032em; }
.arts h1, .arts h2 {
  font-family: "UnifrakturMaguntia", "Old English Text MT", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}
.arts h1 em { font-style: normal; }
.arts-product h3, .concept-card h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.1; }
.collection .collection-button, .arts .collection-button {
  border-radius: 999px;
  padding: .8rem 1.25rem;
  text-align: center;
  font-weight: 700;
}
.collection-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .8rem;
  border-radius: 999px;
}
.collection nav a:hover { background: #f5efe3; }
.arts nav a:hover { background: #271322; }
.collection-header nav { gap: .25rem; }
.fabric-options article, .arts-product, .concept-card {
  overflow: hidden;
  border-radius: 1.5rem;
}
.fabric-options .brand-photo, .arts-product img { border-radius: 1rem; }
.arts-product, .concept-card { background: #141015; border: 1px solid #4f2a48; }
.arts-product { padding: clamp(1rem, 3vw, 2rem); }
.concepts { padding-top: 0; }
.concepts > p { margin: 0 0 1.5rem; color: #c9c5cc; }
.concept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.concept-card img { aspect-ratio: 1; object-fit: cover; }
@media (max-width: 540px) {
  .concept-grid { grid-template-columns: 1fr; }
}
.wordmark { display: inline-flex; align-items: center; gap: .55rem; }
.wordmark-icon {
  display: inline-block;
  width: 1.45em;
  aspect-ratio: 81 / 73;
  background: url("/fotos/monograma-madaro.png") center / contain no-repeat;
}
.collection-header .wordmark-icon {
  background-color: var(--black);
  background-size: 65%;
  border: 1px solid var(--gold);
  border-radius: .35rem;
}

.entry-looks a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: min(45%, 21rem);
  background: linear-gradient(transparent, rgba(8, 7, 7, .92));
  pointer-events: none;
}
.entry-title {
  position: absolute;
  z-index: 1;
  inset: auto clamp(1rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 3.5rem);
  color: #fff;
  font-size: clamp(2.5rem, 5.5vw, 6rem);
  line-height: 1;
}
.entry-brand {
  display: block;
  margin-bottom: .45rem;
  font: 700 .875rem/1.2 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: .2em;
}
.entry-minimal .entry-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
.entry-minimal .entry-brand { color: #f3d89e; }
.entry-street .entry-title { font-family: "UnifrakturMaguntia", Georgia, serif; }
.entry-street .entry-brand { color: #ff9aca; }

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}
.color-options li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2rem;
  padding: .25rem .65rem;
  border: 1px solid #cabc9f;
  border-radius: 999px;
  font-size: .875rem;
}
.arts .color-options li { border-color: #815573; }
.color-options span {
  width: .875rem;
  height: .875rem;
  border: 1px solid #888;
  border-radius: 50%;
  background: var(--swatch);
  flex: none;
}

.color-preview { margin: 0 0 1rem; min-width: 0; }
.garment-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #ebe9e5;
}
.arts .garment-stage { background: #fff; }
.garment-stage::before, .garment-color {
  content: "";
  position: absolute;
  inset: 0;
}
.garment-stage::before { background: var(--garment) center / contain no-repeat; }
.garment-color {
  background: var(--fabric);
  mask: var(--garment) center / contain no-repeat;
  mix-blend-mode: color;
}
.garment-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fabric);
  mask: var(--garment) center / contain no-repeat;
  mix-blend-mode: hard-light;
  opacity: .74;
}
.garment-logo {
  position: absolute;
  z-index: 1;
  left: var(--logo-x, 60%);
  top: var(--logo-y, 34%);
  width: 5%;
  aspect-ratio: 81 / 73;
  background: url("/fotos/monograma-madaro.png") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7));
}
.color-preview figcaption { margin-top: .4rem; font-size: .875rem; }
.color-options li:has(button) { border: 0; padding: 0; }
.color-options button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.5rem;
  padding: .25rem .65rem;
  border: 1px solid #a49a89;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.color-options button[aria-pressed="true"] { outline: 2px solid currentColor; outline-offset: -2px; }
.color-options button:focus-visible { outline: 2px solid #a55e8c; outline-offset: 2px; }
.real-photo { margin-top: 1rem; font-size: .875rem; }
.real-photo summary { cursor: pointer; }
.real-photo img { margin: .65rem 0 0; }
.arts-product .real-photo { grid-column: 1 / -1; }
.arts-product .real-photo img { max-width: 30rem; }
.concept-card .color-preview { margin-bottom: 0; }
.concept-card .garment-stage { border-radius: 0; }
.concept-card .color-preview figcaption { padding-inline: 1.2rem; }

#regata-canelada .garment-logo { --logo-x: 59%; --logo-y: 37%; }
#moletom .garment-logo { --logo-x: 61%; --logo-y: 42%; }

.fabric-options, .concept-grid { align-items: start; }
.product-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: 1.45rem;
  font-weight: 600;
}
.collection .product-name { font-family: "Cormorant Garamond", Georgia, serif; }
.product-name::after { content: "+"; font: 500 1.4rem/1 "Space Grotesk", sans-serif; }
.concept-card .product-name { padding: .85rem 1.2rem; }

.entry-scene { position: absolute; inset: 0; overflow: hidden; }
.entry-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scene) center / cover no-repeat;
  transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) scale(1.05);
  transition: transform .28s ease-out;
}
.entry-looks .entry-scene img, .entry-looks a:hover .entry-scene img {
  position: relative;
  mask-image: radial-gradient(ellipse 60% 71% at 50% 50%, #000 50%, transparent 100%);
  transform: translate(calc(var(--pan-x, 0px) * 1.45), calc(var(--pan-y, 0px) * 1.45)) scale(1.05);
  transition: transform .28s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .entry-scene::before { display: none; }
  .entry-looks .entry-scene img, .entry-looks a:hover .entry-scene img { mask-image: none; transform: none; transition: none; }
}
.entry-looks > a { touch-action: pan-y pinch-zoom; }

.size-guide { margin-block: .85rem .25rem; }
.size-guide summary { cursor: pointer; font-weight: 600; }
.size-guide table { width: 100%; margin-top: .6rem; border-collapse: collapse; font-size: .875rem; }
.size-guide caption { text-align: left; margin-bottom: .4rem; }
.size-guide th, .size-guide td {
  padding: .45rem .2rem;
  border-bottom: 1px solid currentColor;
  text-align: center;
}
.size-guide th:first-child { text-align: left; }
.size-guide p { margin: .6rem 0 0; font-size: .875rem; }

.product-card-link { display: block; color: inherit; text-decoration: none; }
.product-card-link .product-name::after { content: "›"; }
.product-card-link figcaption { display: none; }
.concept-card .product-card-link > img { margin: 0; }
.item-page { width: min(72rem, 90%); margin: 0 auto; padding: 2rem 0 4rem; }
.item-page h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; margin: .8rem 0 1.5rem; }
.item-layout { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.item-layout > * { flex: 1 1 20rem; min-width: 0; }
.item-visual { max-width: 34rem; }
.item-visual > img { border-radius: 1rem; }
.item-info .source-link { display: table; }
.item-photos { margin-top: 3rem; }
.photo-picker { display: flex; flex-direction: column; gap: .5rem; width: fit-content; }
.photo-picker input { max-width: 100%; font: inherit; }
.photo-list, .experience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.photo-list { padding: 0; list-style: none; }
.photo-list img, .experience-card img { width: 100%; height: auto; display: block; border-radius: 1rem; }
.photo-list button { font: inherit; cursor: pointer; margin-top: .5rem; }
.experience-grid { margin-top: 1.5rem; }
.experience-card { border: 1px solid #4f2a48; border-radius: 1.25rem; padding: 1rem; }
.experience-card h2 { font: 600 1.25rem/1.2 "Space Grotesk", sans-serif; }
.arts-product:has(.product-card-link) { display: block; max-width: 36rem; }
.arts .product-card-link:focus-visible { outline-offset: -2px; }
