:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --ink: #182c29;
  --petrol: #163b38;
  --deep: #102f2d;
  --gold: #f5cb85;
  --line: #d6cec1;
  --muted: #49534b;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #087671; outline-offset: 4px; }
.hero :focus-visible, footer :focus-visible { outline-color: var(--gold); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 12px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; }
.header img { object-fit: contain; }
nav { display: flex; gap: clamp(16px, 3vw, 38px); flex-wrap: wrap; align-items: center; }
nav a { text-decoration: none; padding-block: 12px; font-size: .9375rem; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; background: var(--petrol); color: var(--paper); }
.hero-copy { align-self: center; padding: clamp(40px, 7vw, 105px) 24px clamp(44px, 7vw, 105px) max(48px, calc((100vw - 1200px)/2)); }
.hero .hero-brand { color: var(--gold); font-weight: 650; margin: 0 0 16px; }
.hero h1 { max-width: 13ch; font-size: clamp(2.85rem, 5.1vw, 5.15rem); letter-spacing: -.06em; line-height: .99; text-wrap: balance; }
.hero p { color: #eef0e9; max-width: 34ch; margin-top: 22px; line-height: 1.6; }
.hero-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 42%; }
.action { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 12px 20px; background: var(--petrol); color: white; text-decoration: none; font-weight: 650; font-size: .9375rem; }
.action:hover { background: #23544e; }
.hero .action { margin-top: 26px; }
.action.gold { color: var(--deep); background: var(--gold); }
.action.gold:hover { background: #ffdb9d; }
.collection { padding-block: 66px 86px; }
.collection-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 22px 32px; }
h2 { font-size: clamp(2.4rem, 5vw, 4.35rem); letter-spacing: -.062em; line-height: 1.02; }
.collection-head p { margin-top: 11px; color: var(--muted); line-height: 1.55; }
.search { display: grid; gap: 6px; width: min(280px, 100%); }
.search label { font-size: .875rem; font-weight: 650; }
.search input { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #8b9083; border-radius: 0; background: transparent; }
.grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 29px 18px; }
.piece { position: relative; min-width: 0; border-bottom: 1px solid var(--line); }
.piece-image { aspect-ratio: 1.06; display: grid; place-items: center; background: var(--glaze); overflow: hidden; padding: 11%; }
.arena { --glaze: #eee3ce; }
.agua { --glaze: #dce8e3; }
.rosa { --glaze: #eee0db; }
.piece-image img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 7px 7px #241d1724); }
.piece-copy { padding: 13px 0 15px; }
.piece h3 { font-size: clamp(1.3rem, 2vw, 1.85rem); letter-spacing: -.035em; line-height: 1.12; }
.piece h3 button { display: inline; border: 0; background: transparent; padding: 0; text-align: left; }
.piece h3 button::after { content: ''; position: absolute; inset: 0; }
.piece:focus-within { outline: 3px solid #087671; outline-offset: 4px; }
.piece button:focus-visible { outline: none; }
.piece:focus-within h3, .piece:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.piece-capacity { color: var(--muted); margin-top: 5px; font-size: .875rem; }
.piece-prices { display: flex; flex-wrap: wrap; gap: 4px 11px; margin-top: 7px; font-size: .875rem; font-variant-numeric: tabular-nums; }
.piece-prices span:first-child { font-weight: 700; }
.piece-prices span:last-child { color: var(--muted); white-space: nowrap; }
.piece-link { margin-top: 10px; color: #225b52; text-decoration: underline; text-underline-offset: 3px; font-size: .875rem; }
#empty { padding-block: 20px 10px; }
.workshop { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr auto; gap: 5px; margin-bottom: 56px; }
.workshop-feature { grid-row: span 2; width: 100%; height: 100%; min-height: 0; max-height: 620px; object-fit: cover; object-position: center 58%; }
.workshop-photos { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5px; }
.workshop-photos img { width: 100%; height: clamp(160px, 17vw, 231px); object-fit: cover; }
.workshop-copy { display: grid; align-content: center; background: #ede5d5; padding: clamp(25px, 4vw, 56px); }
.workshop-copy .location { color: var(--muted); margin: 0 0 13px; font-size: .875rem; }
.workshop-copy h2 { font-size: clamp(2.35rem, 4vw, 3.6rem); }
.workshop-copy p { max-width: 40ch; line-height: 1.6; margin-top: 16px; }
.contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px 30px; margin-bottom: 66px; padding: clamp(16px, 3vw, 35px); border: 1px solid var(--line); }
.contact-intro { display: flex; align-items: center; gap: clamp(13px, 2vw, 25px); }
.contact-avatar { flex: none; width: clamp(100px, 13vw, 168px); height: auto; }
.contact h2 { font-size: clamp(1.7rem, 3.4vw, 2.9rem); letter-spacing: -.045em; }
footer { background: var(--deep); color: var(--paper); }
.footer-inner { display: flex; min-height: 136px; align-items: center; justify-content: space-between; gap: 13px 24px; padding-block: 26px; }
.footer-name { font: 1.65rem var(--serif); }
.footer-location { margin-top: 6px; color: #e0e8df; font-size: .875rem; }
dialog { width: min(820px,calc(100% - 28px)); max-height: calc(100% - 28px); border: 0; padding: 0; background: var(--paper); color: var(--ink); overflow: auto; }
dialog::backdrop { background: #10211fe0; }
body:has(dialog[open]) { overflow: hidden; }
.detail { display: grid; grid-template-columns: .92fr 1fr; position: relative; }
.detail form { display: contents; }
.detail-media { background: var(--glaze); min-height: 365px; display: grid; place-items: center; padding: 28px; }
.detail-image { width: 100%; height: min(48vh,360px); object-fit: contain; }
.detail-copy { align-self: center; padding: 50px 28px 32px; }
.detail h2 { font-size: clamp(2rem,5.2vw,3.5rem); }
.close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: 1.6rem; line-height: 1; }
dl { margin: 19px 0 14px; }
dl div { display: flex; flex-wrap: wrap; gap: 3px 9px; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); }
dt, dd { font-size: .9375rem; }
dd { margin: 0; font-weight: 650; }
.detail-note { margin-bottom: 16px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero-copy { padding-left: 28px; }
  .grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .header { min-height: 66px; }
  .header img { width: 43px; height: 51px; }
  nav { gap: 15px; }
  nav a { font-size: .875rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 29px 18px 31px; }
  .hero .hero-brand { margin-bottom: 9px; }
  .hero h1 { max-width: 16ch; font-size: clamp(2.55rem, 9.7vw, 4.1rem); text-wrap: initial; }
  .hero p { margin-top: 13px; }
  .hero .action { margin-top: 19px; }
  .hero-photo { height: clamp(188px,58vw,315px); object-position: center 43%; }
  .collection { padding-block: 40px 57px; }
  .collection-head { gap: 16px; }
  .search { width: 100%; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; }
  .piece-prices { font-size: .8125rem; gap: 2px 7px; }
  .workshop { grid-template-columns: 1fr; grid-template-rows: auto; margin-bottom: 34px; }
  .workshop-feature { grid-row: auto; height: auto; aspect-ratio: 1.12; }
  .workshop-photos img { height: clamp(135px, 41vw, 235px); }
  .workshop-copy { padding: 23px 19px 27px; }
  .contact { margin-bottom: 39px; }
  .contact .action { width: 100%; text-align: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .detail { grid-template-columns: 1fr; }
  .detail-media { min-height: 0; padding: 15px 25px; }
  .detail-image { height: clamp(140px,29vh,240px); }
  .detail-copy { padding: 19px 19px 24px; }
}
